pam-reattach: minor cmakeFlags cleanup

This commit is contained in:
Reno Dakota 2024-07-03 00:16:31 +00:00
parent 07cba9376f
commit d44ffe57b2
No known key found for this signature in database

View File

@ -15,12 +15,7 @@ stdenv.mkDerivation rec {
};
cmakeFlags = [
"-DCMAKE_OSX_ARCHITECTURES=${
if stdenv.hostPlatform.system == "x86_64-darwin" then
"x86_64"
else
"arm64"
}"
"-DCMAKE_OSX_ARCHITECTURES=${stdenv.hostPlatform.darwinArch}"
"-DENABLE_CLI=ON"
] ++ lib.optional sdkOlderThan11 "-DCMAKE_LIBRARY_PATH=${darwin.apple_sdk.sdk}/usr/lib";