aboutsummaryrefslogtreecommitdiff
path: root/contrib/depends/toolchain.cmake.in
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 /contrib/depends/toolchain.cmake.in
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 'contrib/depends/toolchain.cmake.in')
-rw-r--r--contrib/depends/toolchain.cmake.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/depends/toolchain.cmake.in b/contrib/depends/toolchain.cmake.in
index a87b9c058..c3a0df59b 100644
--- a/contrib/depends/toolchain.cmake.in
+++ b/contrib/depends/toolchain.cmake.in
@@ -83,7 +83,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
SET(PORT OFF)
SET(CMAKE_OSX_SYSROOT "@sdk@/MacOSX10.11.sdk/")
SET(CMAKE_OSX_DEPLOYMENT_TARGET "10.08")
- SET(CMAKE_CXX_STANDARD 11)
+ SET(CMAKE_CXX_STANDARD 14)
SET(CMAKE_OSX_ARCHITECTURES "x86_64")
SET(LLVM_ENABLE_PIC OFF)
SET(LLVM_ENABLE_PIE OFF)