From 20ea55bdbcbe9d9edfa869f8f71f07d38fc394c4 Mon Sep 17 00:00:00 2001 From: James Turner Date: Thu, 10 Dec 2015 14:53:17 -0600 Subject: [PATCH] Set macos-min-version for C files too Should fix another 10.7 issues (Nasal code is .c) --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6db62d75..f7220c57 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -178,6 +178,7 @@ if(APPLE) # this should be handled by setting CMAKE_OSX_DEPLOYMENT_TARGET # but it's not working reliably, so forcing it for now SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mmacosx-version-min=10.7") + SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mmacosx-version-min=10.7") endif() if(${CMAKE_SYSTEM_NAME} MATCHES "Linux" OR -- 2.39.5