Created
January 24, 2020 13:57
-
-
Save sortofsleepy/e95f74ecd30522b83ba884d2ce62c23c to your computer and use it in GitHub Desktop.
add MSVC checks + how to add options in CMake
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if(MSVC_VERSION GREATER_EQUAL "1900") | |
include(CheckCXXCompilerFlag) | |
add_compile_options("/std:c++latest") | |
endif() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment