mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
C++
- Enabling C++11, as a test. Let's see if anything blows up.
This commit is contained in:
parent
b882cd151e
commit
9bd9a3b285
1 changed files with 2 additions and 0 deletions
|
@ -12,10 +12,12 @@ set (HAVE_CMAKE true)
|
|||
project (task)
|
||||
set (PROJECT_VERSION "2.4.1")
|
||||
|
||||
set (CMAKE_CXX_FLAGS "-std=c++11")
|
||||
if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
||||
set (LINUX true)
|
||||
elseif (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||
set (DARWIN true)
|
||||
set (CMAKE_CXX_FLAGS "-std=c++11 -stdlib=libc++")
|
||||
elseif (${CMAKE_SYSTEM_NAME} MATCHES "kFreeBSD")
|
||||
set (KFREEBSD true)
|
||||
elseif (${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue