aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorselsta <selsta@sent.at>2021-09-15 18:26:33 +0200
committerselsta <selsta@sent.at>2021-09-25 06:22:12 +0200
commitb00e21dcccabe0edca33bec6caeb9dfc60e099ce (patch)
treee8c7d8e8c6df3f95259436c8beaaeed9f963f9c5 /CMakeLists.txt
parentMerge pull request #7945 (diff)
downloadmonero-b00e21dcccabe0edca33bec6caeb9dfc60e099ce.tar.xz
cmake: set cpp14 standard
It's 2021, we can easily switch to C++14 without any troubles.
Diffstat (limited to '')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index bb019e178..20af0ae20 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -96,7 +96,7 @@ enable_language(C ASM)
set(CMAKE_C_STANDARD 11)
set(CMAKE_C_STANDARD_REQUIRED ON)
set(CMAKE_C_EXTENSIONS OFF)
-set(CMAKE_CXX_STANDARD 11)
+set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)