diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2022-01-28 02:07:13 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2022-01-28 09:38:05 +0100 |
commit | 19614f4c612a4bcb12bb89fbaa54c54410c37aec (patch) | |
tree | 261ec82f855003bd6f0d7f55757e82db17f77671 | |
parent | 2878ceef0ca6d857687db520bcb8aa6778834be8 (diff) | |
download | tde-cmake-19614f4c612a4bcb12bb89fbaa54c54410c37aec.tar.gz tde-cmake-19614f4c612a4bcb12bb89fbaa54c54410c37aec.zip |
Set C++11 as the required minimum standard.r14.0.12
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 0560f24a3be03514a9a020f589b6255ce8a5fd86)
-rw-r--r-- | modules/FindTQt.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/FindTQt.cmake b/modules/FindTQt.cmake index 1b7df8e..1aeffb7 100644 --- a/modules/FindTQt.cmake +++ b/modules/FindTQt.cmake @@ -117,3 +117,6 @@ endif( NOT TQT_FOUND ) # Set compiler flags according to build type set( CMAKE_CXX_FLAGS_RELWITHDEBINFO "-DNDEBUG" ) set( CMAKE_C_FLAGS_RELWITHDEBINFO "-DNDEBUG" ) + +# Set the required minimum C++ standard +set( TDE_CXX_FEATURES cxx_nullptr ) |