We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 374101c commit 6cd994eCopy full SHA for 6cd994e
third_party/blst/CMakeLists.txt
@@ -24,7 +24,11 @@ elseif(MSVC)
24
set(BLST_BUILD_SCRIPT build.bat)
25
set(BLST_LIB blst.lib)
26
else()
27
- set(BLST_BUILD_SCRIPT ./build.sh)
+ set(BLST_BUILD_SCRIPT_ARGS "")
28
+ if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
29
+ set(BLST_BUILD_SCRIPT_ARGS "-mmacosx-version-min=${CMAKE_OSX_DEPLOYMENT_TARGET}")
30
+ endif()
31
+ set(BLST_BUILD_SCRIPT ./build.sh ${BLST_BUILD_SCRIPT_ARGS})
32
set(BLST_LIB libblst.a)
33
endif()
34
0 commit comments