cmake: fix CMAKE_FIND_FRAMEWORK

This commit is contained in:
Nikolay Korotkiy
2020-08-29 13:37:56 +02:00
committed by Frederik Rietdijk
parent 2131a1df39
commit 3106c30903
5 changed files with 3 additions and 9 deletions
@@ -60,7 +60,7 @@ in stdenv.mkDerivation rec {
# gcc together as compilers and we need clang for the sources generation.
# However, clang emits tons of warnings about gcc's atomic-base library.
"-DCMAKE_CXX_FLAGS=-Wno-braced-scalar-init"
] ++ lib.optional stdenv.isDarwin "-DCMAKE_FIND_FRAMEWORK=LAST";
];
fixupPhase = ''
wrapProgram $out/bin/oz --set OZEMACS ${emacs}/bin/emacs