3
0
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:
Olivier Parcollet 2014-10-26 15:02:33 +01:00
parent 07fbd77669
commit 01a772fce6
2 changed files with 1 additions and 1 deletions

View File

@ -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")