Skip to content

Commit fe2f67b

Browse files
1 parent 421eaec commit fe2f67b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

CMakeLists.txt

+5
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,11 @@ if(ENABLE_COVERAGE)
6060
include(cmake/coverage.cmake)
6161
endif()
6262

63+
if(APPLE AND CMAKE_OSX_DEPLOYMENT_TARGET AND
64+
CMAKE_OSX_DEPLOYMENT_TARGET VERSION_LESS 10.15)
65+
message(FATAL_ERROR "OpenVINO requires MACOSX_DEPLOYMENT_TARGET at least 10.15, specified ${CMAKE_OSX_DEPLOYMENT_TARGET}")
66+
endif()
67+
6368
# resolving dependencies for the project
6469
message (STATUS "CMAKE_VERSION ......................... " ${CMAKE_VERSION})
6570
message (STATUS "CMAKE_CROSSCOMPILING .................. " ${CMAKE_CROSSCOMPILING})

0 commit comments

Comments
 (0)