Commit fdbea7d1 authored by Jean-Luc Szpyrka's avatar Jean-Luc Szpyrka
Browse files

pushed CXX flags

parent 5eab5ab5
......@@ -85,6 +85,13 @@ if("${isSystemDir}" STREQUAL "-1")
set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
endif("${isSystemDir}" STREQUAL "-1")
# fix for conda/dtk-forge/Bir Sur/qt imbroglio
if(APPLE)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mmacosx-version-min=10.12")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -mmacosx-version-min=10.12")
message("CMAKE=" ${CMAKE_CXX_FLAGS})
endif(APPLE)
## ###################################################################
## Test setup
## ###################################################################
......
......@@ -14,5 +14,12 @@
include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake")
# propagate the fix for conda/dtk-forge/Bir Sur/qt imbroglio
if(APPLE)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mmacosx-version-min=10.12")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -mmacosx-version-min=10.12")
endif(APPLE)
######################################################################
### dtkWidgetsConfig.cmake.in ends here
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment