Build: Enable and require c++17

This commit is contained in:
Giacomo Pozzoni authored and Ovahlord committed 2020-03-16 14:14:46 +01:00
1 parent fdd986ec46
commit c2913e608f
4 files changed
+4 -3

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
# set up output paths for executable binaries (.exe-files, and .dll-files on DLL-capable platforms)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
set(MSVC_EXPECTED_VERSION 19.10)
set(MSVC_EXPECTED_VERSION 19.16)
set(MSVC_EXPECTED_VERSION_STRING "MSVC 2017")
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS MSVC_EXPECTED_VERSION)