mirror of
https://github.com/triqs/dft_tools
synced 2024-10-31 19:23:45 +01:00
Fix C++11 compilation
This commit is contained in:
parent
07fbd77669
commit
01a772fce6
@ -66,7 +66,7 @@ find_package(CompilerCheck)
|
||||
option(USE_CPP14 "Use C++14 mode " OFF)
|
||||
if (NOT USE_CPP14)
|
||||
MESSAGE(STATUS "Compiling in C++11 mode")
|
||||
set(TRIQS_CXX_DEFINITIONS ${TRIQS_CXX_DEFINITIONS} " -std=c++11 ")
|
||||
set(TRIQS_CXX_DEFINITIONS ${TRIQS_CXX_DEFINITIONS} " -std=c++11 -DTRIQS_CPP11")
|
||||
#SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
|
||||
else()
|
||||
MESSAGE(STATUS "Compiling in C++14 mode")
|
||||
|
Loading…
Reference in New Issue
Block a user