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 0d0d00f commit c4ab5aaCopy full SHA for c4ab5aa
CMakeLists.txt
@@ -66,7 +66,13 @@ if(CMakePythonDistributions_SUPERBUILD)
66
set(binary_archive "linux64_binary")
67
endif()
68
if(APPLE)
69
- string(REPLACE "." "_" binary_archive "macos${CMAKE_OSX_DEPLOYMENT_TARGET}_binary")
+ if("${CMAKE_OSX_DEPLOYMENT_TARGET}" VERSION_LESS "10.10")
70
+ message(FATAL_ERROR "Unsupported macOS deployment target: ${CMAKE_OSX_DEPLOYMENT_TARGET} is less than 10.10")
71
+ elseif("${CMAKE_OSX_DEPLOYMENT_TARGET}" VERSION_LESS "10.13")
72
+ set(binary_archive "macos10_10_binary")
73
+ else()
74
+ set(binary_archive "macos10_13_binary")
75
+ endif()
76
77
if(WIN32)
78
set(binary_archive "win32_binary")
0 commit comments