CMake
- Fix CMAKE_CXX_FLAGS change to preserve previous flags.
This commit is contained in:
committed by
Paul Beckingham
parent
0311ea6689
commit
61deb7ce7e
@@ -15,7 +15,7 @@ set (PROJECT_VERSION "2.4.1")
|
||||
OPTION(USE_GNUTLS "Build gnutls support." ON)
|
||||
|
||||
message ("CMAKE_SYSTEM_NAME ${CMAKE_SYSTEM_NAME}")
|
||||
set (CMAKE_CXX_FLAGS "-std=c++11")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
|
||||
if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
||||
set (LINUX true)
|
||||
elseif (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||
|
||||
Reference in New Issue
Block a user