Skip to content

Commit

Permalink
update CMakeTestsUtils.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
i80287 committed Nov 24, 2024
1 parent 292b864 commit 8bcd002
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/CMakeTestsUtils.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,8 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR CMAKE_CXX_COMPILER_ID STREQUAL "App
if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 18.0.0)
list(APPEND COMPILER_SUPPORTED_C_VERSIONS 23)
endif()
if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 18.1.2)
if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 18.1.2 AND
NOT CMAKE_CXX_COMPILER_FRONTEND_VARIANT STREQUAL "MSVC")
set(COMPILER_SUPPORTS_MODULES True)
endif()
if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 19.0.0)
Expand Down

0 comments on commit 8bcd002

Please sign in to comment.