nanoflann: rewrite cmakeFlags

This commit is contained in:
Weijia Wang 2024-01-19 08:12:45 +01:00
parent 6f2685e4d9
commit 6a66e91d21

View file

@ -19,7 +19,7 @@ stdenv.mkDerivation (finalAttrs: {
nativeBuildInputs = [ cmake ];
cmakeFlags = [
"-DBUILD_EXAMPLES=${if buildExamples then "ON" else "OFF"}"
(lib.cmakeBool "BUILD_EXAMPLES" buildExamples)
];
doCheck = true;