OpenVINO™ is an open source toolkit for optimizing and deploying AI inference
C++ aicomputer-visiondeep-learningdeploy-aidiffusion-modelsgenerative-aigood-first-issueinferencellm-inferencenatural-language-processingnlpopenvinooptimize-aiperformance-boostrecommendation-systemspeech-recognitionstable-diffusiontransformersyolo
Assert on minimal macOS deployment target (#26136)
Ilya Lavrenovfe2f67bc7adf
diff --git a/CMakeLists.txt b/CMakeLists.txtindex c68e3a611b3..e9e8d3724d9 100644--- a/CMakeLists.txt+++ b/CMakeLists.txt@@ -60,6 +60,11 @@ if(ENABLE_COVERAGE)include(cmake/coverage.cmake)endif()+if(APPLE AND CMAKE_OSX_DEPLOYMENT_TARGET AND+ CMAKE_OSX_DEPLOYMENT_TARGET VERSION_LESS 10.15)+ message(FATAL_ERROR "OpenVINO requires MACOSX_DEPLOYMENT_TARGET at least 10.15, specified ${CMAKE_OSX_DEPLOYMENT_TARGET}")+endif()+# resolving dependencies for the projectmessage (STATUS "CMAKE_VERSION ......................... " ${CMAKE_VERSION})message (STATUS "CMAKE_CROSSCOMPILING .................. " ${CMAKE_CROSSCOMPILING})