nlopt: fixup cmake directories
This commit is contained in:
parent
7aad9f3307
commit
3dafb71c9f
|
@ -27,6 +27,11 @@ stdenv.mkDerivation rec {
|
||||||
"OCT_INSTALL_DIR=$(out)/${octave.sitePath}/oct"
|
"OCT_INSTALL_DIR=$(out)/${octave.sitePath}/oct"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
postFixup = ''
|
||||||
|
substituteInPlace $out/lib/cmake/nlopt/NLoptLibraryDepends.cmake --replace \
|
||||||
|
'INTERFACE_INCLUDE_DIRECTORIES "''${_IMPORT_PREFIX}/' 'INTERFACE_INCLUDE_DIRECTORIES "'
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://nlopt.readthedocs.io/en/latest/";
|
homepage = "https://nlopt.readthedocs.io/en/latest/";
|
||||||
description = "Free open-source library for nonlinear optimization";
|
description = "Free open-source library for nonlinear optimization";
|
||||||
|
|
Loading…
Reference in a new issue