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 02:07:13 +0100
commit0560f24a3be03514a9a020f589b6255ce8a5fd86 (patch)
tree1463f8f84ed5fe5e2af01b5889b12aa94c5a4923
parentefec901634b3c9816f8788d48bf27c7511238855 (diff)
downloadcmake-0560f24a3be03514a9a020f589b6255ce8a5fd86.tar.gz
cmake-0560f24a3be03514a9a020f589b6255ce8a5fd86.zip
Set C++11 as the required minimum standard.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-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 )