diff --git a/CMakeLists.txt b/CMakeLists.txt index eceeab8..4836c76 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -122,12 +122,6 @@ if(APPLE) message(STATUS "Found macOS ${OSX_DEPLOYMENT_TARGET} ${MACOS_NAME} as the host. Darwin Version:${DARWIN_VERSION}") ENDIF () - IF (DARWIN_VERSION EQUAL 21) # macOS 12.00 Monterey (Xcode 13.x) - message(STATUS "Found macOS 12.00 Monterey as the host. Darwin Version:${DARWIN_VERSION}") - set(OSX_DEPLOYMENT_TARGET "12.00") - ENDIF () - - if("${OSX_SDK}" STREQUAL "NOT-FOUND") message(FATAL_ERROR "This version of macOS (${DARWIN_VERSION}) is not recognized.\ The following versions are supported:\n\ diff --git a/projects/apple/OSX_EMsoft_SDK.cmake b/projects/apple/OSX_EMsoft_SDK.cmake index 2da4a33..79ab18d 100644 --- a/projects/apple/OSX_EMsoft_SDK.cmake +++ b/projects/apple/OSX_EMsoft_SDK.cmake @@ -13,7 +13,7 @@ if(NOT DEFINED EMsoft_FIRST_CONFIGURE) endif() # Set our Deployment Target to match Qt - set(CMAKE_OSX_DEPLOYMENT_TARGET "@OSX_DEPLOYMENT_TARGET@" CACHE STRING "" FORCE) + set(CMAKE_OSX_DEPLOYMENT_TARGET "@OSX_DEPLOYMENT_TARGET@") set(CMAKE_OSX_SYSROOT "@OSX_SDK@" CACHE STRING "" FORCE) endif()