Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
flagarde committed May 14, 2024
1 parent a066082 commit e0d5789
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ message(STATUS "Compiler support C : ${C_STANDARDS}")
if(MSVC)
set(CXX_EXTENSIONS "ON")
list(REMOVE_ITEM CXX_STANDARDS "cxx_std_98" "cxx_std_11") #MSVC has no c++98 c++11 options
elseif(WIN32 AND "${CMAKE_CXX_COMPILER_ID}:${CMAKE_CXX_COMPILER_FRONTEND_VARIANT}" STREQUAL "Clang:GNU")
list(REMOVE_ITEM CXX_STANDARDS "cxx_std_98")
else()
set(CXX_EXTENSIONS "ON;OFF")
endif()
Expand Down

0 comments on commit e0d5789

Please sign in to comment.