We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 658a0da commit 2d57283Copy full SHA for 2d57283
CMakeLists.txt
@@ -1,4 +1,4 @@
1
-cmake_minimum_required(VERSION 3.15)
+cmake_minimum_required(VERSION 3.15...4.0)
2
3
#
4
# For more details, see docs/building.rst
@@ -70,7 +70,7 @@ if(CMakePythonDistributions_SUPERBUILD)
70
set(binary_archive "linux64_binary")
71
endif()
72
if(APPLE)
73
- if("${CMAKE_OSX_DEPLOYMENT_TARGET}" VERSION_LESS "10.10")
+ if(CMAKE_OSX_DEPLOYMENT_TARGET AND "${CMAKE_OSX_DEPLOYMENT_TARGET}" VERSION_LESS "10.10")
74
message(FATAL_ERROR "Unsupported macOS deployment target: ${CMAKE_OSX_DEPLOYMENT_TARGET} is less than 10.10")
75
else()
76
set(binary_archive "macos10_10_binary")
0 commit comments