cmake: fix CMAKE_FIND_FRAMEWORK

This commit is contained in:
Nikolay Korotkiy
2020-07-28 19:05:43 +03:00
parent f8369badce
commit b53902f535
4 changed files with 3 additions and 5 deletions

View File

@@ -48,7 +48,7 @@ cmakeConfigurePhase() {
# on macOS we want to prefer Unix-style headers to Frameworks
# because we usually do not package the framework
cmakeFlags="-DCMAKE_FIND_FRAMEWORK=last $cmakeFlags"
cmakeFlags="-DCMAKE_FIND_FRAMEWORK=LAST $cmakeFlags"
# on macOS i686 was only relevant for 10.5 or earlier.
cmakeFlags="-DCMAKE_OSX_ARCHITECTURES=x86_64 $cmakeFlags"