Fix: set Mac deployment target

This silences an awful lot of warnings.
This commit is contained in:
Dan Villiom Podlaski Christiansen 2020-06-04 21:59:30 +02:00 committed by Charles Pigott
parent 241e3adae8
commit c593893b56

View File

@ -7,6 +7,7 @@ if (CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR)
endif (CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR) endif (CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake") set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake")
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.9)
# Use GNUInstallDirs to allow customisation # Use GNUInstallDirs to allow customisation
# but set our own default data dir # but set our own default data dir