From 0560f24a3be03514a9a020f589b6255ce8a5fd86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Fri, 28 Jan 2022 02:07:13 +0100 Subject: [PATCH] Set C++11 as the required minimum standard. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- modules/FindTQt.cmake | 3 +++ 1 file changed, 3 insertions(+) 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 )