Set C++11 as the required minimum standard.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/82/head
Slávek Banko 3 years ago
parent efec901634
commit 0560f24a3b
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -117,3 +117,6 @@ endif( NOT TQT_FOUND )
# Set compiler flags according to build type # Set compiler flags according to build type
set( CMAKE_CXX_FLAGS_RELWITHDEBINFO "-DNDEBUG" ) set( CMAKE_CXX_FLAGS_RELWITHDEBINFO "-DNDEBUG" )
set( CMAKE_C_FLAGS_RELWITHDEBINFO "-DNDEBUG" ) set( CMAKE_C_FLAGS_RELWITHDEBINFO "-DNDEBUG" )
# Set the required minimum C++ standard
set( TDE_CXX_FEATURES cxx_nullptr )

Loading…
Cancel
Save