File tree Expand file tree Collapse file tree 4 files changed +297
-310
lines changed
Expand file tree Collapse file tree 4 files changed +297
-310
lines changed Original file line number Diff line number Diff line change @@ -50,16 +50,16 @@ endif()
5050
5151set (IS_COMPILER_OPTION_GCC_LIKE FALSE )
5252set (IS_COMPILER_OPTION_MSVC_LIKE FALSE )
53- if ("${CMAKE_CXX_COMPILER_ID} " STREQUAL "MSVC" OR
54- ("${CMAKE_CXX_COMPILER_ID} " STREQUAL "Clang" AND
53+ if ("${CMAKE_CXX_COMPILER_ID} " STREQUAL "MSVC" OR
54+ ("${CMAKE_CXX_COMPILER_ID} " STREQUAL "Clang" AND
5555 "${CMAKE_CXX_COMPILER_FRONTEND_VARIANT} " STREQUAL "MSVC" ))
5656 set (IS_COMPILER_OPTION_MSVC_LIKE TRUE ) # cl and clang-cl
5757else ()
5858 set (IS_COMPILER_OPTION_GCC_LIKE TRUE ) # g++ and clang++
5959endif ()
6060
6161include (CheckCXXCompilerFlag )
62- if (IS_COMPILER_OPTION_MSVC_LIKE)
62+ if (IS_COMPILER_OPTION_MSVC_LIKE)
6363 check_cxx_compiler_flag (/std:c++14 HAS_CXX14_FLAG )
6464 check_cxx_compiler_flag (/std:c++17 HAS_CXX17_FLAG )
6565 check_cxx_compiler_flag (/std:c++20 HAS_CXX20_FLAG )
You can’t perform that action at this time.
0 commit comments