Add comment for VS 2017

This commit is contained in:
Bertrand Bellenot 2017-08-29 11:48:12 +02:00 committed by sftnight
parent 5d4a7b51a7
commit cf766f02ee

View File

@ -214,6 +214,7 @@ string(REPLACE "-fvisibility=hidden" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
if(MSVC)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /GR-")
if(NOT (MSVC_VERSION LESS 1910))
# Add the /std:c++14 flag for Visual Studio 2017 (and up)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /std:c++14")
endif()
else()