
Take advantage of the standard library implementations of those C++17 features available when targeting macOS 10.13. Note that the standard library `std::filesystem` implementation is not available until 10.15.
7 lines
277 B
CMake
7 lines
277 B
CMake
set(CPACK_SYSTEM_NAME "macos-universal" CACHE STRING "")
|
|
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.13" CACHE STRING "")
|
|
set(CMAKE_C_STANDARD "11" CACHE STRING "")
|
|
set(CMAKE_CXX_STANDARD "17" CACHE STRING "")
|
|
|
|
include("${CMAKE_CURRENT_LIST_DIR}/configure_macos_package_common.cmake")
|