aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/toolchains/default.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/toolchains/default.cmake')
-rw-r--r--cmake/toolchains/default.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/toolchains/default.cmake b/cmake/toolchains/default.cmake
new file mode 100644
index 00000000..baf859b7
--- /dev/null
+++ b/cmake/toolchains/default.cmake
@@ -0,0 +1,4 @@
+# Require C++14.
+set(CMAKE_CXX_STANDARD 14)
+set(CMAKE_CXX_STANDARD_REQUIRED TRUE)
+set(CMAKE_CXX_EXTENSIONS OFF)