Fix prebuilt macosx binary for macos 10.9 and up

This commit is contained in:
Atul R
2020-02-07 20:34:19 +01:00
parent 7004064567
commit 1234027472
3 changed files with 4 additions and 2 deletions
+2
View File
@@ -3,6 +3,8 @@ if(CCACHE_PROGRAM)
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "${CCACHE_PROGRAM}")
endif()
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.9" CACHE STRING "Minimum OS X deployment version")
function(AddCommonConfig addonName)
target_compile_features(${addonName} PRIVATE
cxx_inheriting_constructors