telepathy-qt: CMake: Require C++11 standard

Alexandr Akulich kaffeine at kemper.freedesktop.org
Mon Nov 11 17:28:14 UTC 2019


Module: telepathy-qt
Branch: master
Commit: 180f4c7bb8e1452a849bdcbaebdf189261458121
URL:    http://cgit.freedesktop.org/telepathy/telepathy-qt/commit/?id=180f4c7bb8e1452a849bdcbaebdf189261458121

Author: Alexander Akulich <akulichalexander at gmail.com>
Date:   Sun Oct 27 19:10:46 2019 +0300

CMake: Require C++11 standard

---

 CMakeLists.txt | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index ae2cba59..679ceb30 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -37,6 +37,10 @@ if(NOT CMAKE_BUILD_TYPE)
     endif()
 endif()
 
+set(CMAKE_CXX_STANDARD 11)
+set(CMAKE_CXX_STANDARD_REQUIRED ON)
+set(CMAKE_CXX_EXTENSIONS OFF)
+
 # This file contains all the needed initialization macros
 include(TelepathyDefaults)
 



More information about the telepathy-commits mailing list