nanoflann: rewrite cmakeFlags
This commit is contained in:
parent
6f2685e4d9
commit
6a66e91d21
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DBUILD_EXAMPLES=${if buildExamples then "ON" else "OFF"}"
|
(lib.cmakeBool "BUILD_EXAMPLES" buildExamples)
|
||||||
];
|
];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
Loading…
Reference in a new issue