summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2022-01-28 02:07:13 +0100
committerSlávek Banko <slavek.banko@axis.cz>2022-01-28 09:38:05 +0100
commit19614f4c612a4bcb12bb89fbaa54c54410c37aec (patch)
tree261ec82f855003bd6f0d7f55757e82db17f77671
parent2878ceef0ca6d857687db520bcb8aa6778834be8 (diff)
downloadcmake-r14.0.12.tar.gz
cmake-r14.0.12.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.cmake3
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 )