cmake: fix INSTALL_NAME_DIR for darwin libraries
When there's a lib output libraries won't be intalled to $prefix causing output cycles.
This commit is contained in:
parent
e66a5f8862
commit
6f10cfc777
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ cmakeConfigurePhase() {
|
|||
# libraries are in a system path or in the same directory as the
|
||||
# executable. This flag makes the shared library accessible from its
|
||||
# nix/store directory.
|
||||
cmakeFlags="-DCMAKE_INSTALL_NAME_DIR=$prefix/lib $cmakeFlags"
|
||||
cmakeFlags="-DCMAKE_INSTALL_NAME_DIR=${!outputLib}/lib $cmakeFlags"
|
||||
cmakeFlags="-DCMAKE_INSTALL_LIBDIR=${!outputLib}/lib $cmakeFlags"
|
||||
cmakeFlags="-DCMAKE_INSTALL_INCLUDEDIR=${!outputDev}/include $cmakeFlags"
|
||||
|
||||
|
|
Loading…
Reference in a new issue