Add comment for VS 2017
This commit is contained in:
parent
5d4a7b51a7
commit
cf766f02ee
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user