ispc: fix ignored cmake flags

This commit is contained in:
liberodark
2026-09-13 07:44:59 +02:00
parent 1dcf4d3b85
commit ca1fe5e6b5

View File

@@ -87,10 +87,10 @@ stdenv.mkDerivation (finalAttrs: {
(lib.cmakeFeature "CLANGPP_EXECUTABLE" "${llvmPackages.clang}/bin/clang++")
(lib.cmakeBool "ISPC_INCLUDE_EXAMPLES" false)
(lib.cmakeBool "ISPC_INCLUDE_UTILS" false)
(lib.cmakeFeature "ARM_ENABLED=" (
(lib.cmakeFeature "ARM_ENABLED" (
if stdenv.hostPlatform.isAarch64 || stdenv.hostPlatform.isAarch32 then "TRUE" else "FALSE"
))
(lib.cmakeFeature "X86_ENABLED=" (
(lib.cmakeFeature "X86_ENABLED" (
if stdenv.hostPlatform.isx86_64 || stdenv.hostPlatform.isx86_32 then "TRUE" else "FALSE"
))
];