example-robot-data: clean cmakeFlags

This commit is contained in:
Guilhem Saurel 2024-09-17 16:15:44 +02:00
parent b94714421b
commit 85e4302202

View File

@ -42,8 +42,8 @@ stdenv.mkDerivation (finalAttrs: {
python3Packages.pinocchio
];
cmakeFlags = lib.optionals (!pythonSupport) [
"-DBUILD_PYTHON_INTERFACE=OFF"
cmakeFlags = [
(lib.cmakeBool "BUILD_PYTHON_INTERFACE" pythonSupport)
];
doCheck = true;