Skip to content

Commit

Permalink
gnu
Browse files Browse the repository at this point in the history
  • Loading branch information
christophe-lunarg committed Jan 16, 2024
1 parent 3eae157 commit d783c8d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
if(GLM_TEST_ENABLE_CXX_20)
set(CMAKE_CXX_STANDARD 20)
add_definitions(-DGLM_FORCE_CXX20)
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
if(CMAKE_CXX_COMPILER_ID MATCHES "AppleClang")
add_compile_options(-Wc++98-compat)
endif()
if(NOT GLM_QUIET)
Expand All @@ -20,7 +20,7 @@ if(GLM_TEST_ENABLE_CXX_20)
elseif(GLM_TEST_ENABLE_CXX_17)
set(CMAKE_CXX_STANDARD 17)
add_definitions(-DGLM_FORCE_CXX17)
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
if(CMAKE_CXX_COMPILER_ID MATCHES "AppleClang")
add_compile_options(-Wc++98-compat)
endif()
if(NOT GLM_QUIET)
Expand All @@ -30,7 +30,7 @@ elseif(GLM_TEST_ENABLE_CXX_17)
elseif(GLM_TEST_ENABLE_CXX_14)
set(CMAKE_CXX_STANDARD 14)
add_definitions(-DGLM_FORCE_CXX14)
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
if(CMAKE_CXX_COMPILER_ID MATCHES "AppleClang")
add_compile_options(-Wc++98-compat)
endif()
if(NOT GLM_QUIET)
Expand All @@ -40,7 +40,7 @@ elseif(GLM_TEST_ENABLE_CXX_14)
elseif(GLM_TEST_ENABLE_CXX_11)
set(CMAKE_CXX_STANDARD 11)
add_definitions(-DGLM_FORCE_CXX11)
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
if(CMAKE_CXX_COMPILER_ID MATCHES "AppleClang")
add_compile_options(-Wc++98-compat)
endif()
if(NOT GLM_QUIET)
Expand Down

0 comments on commit d783c8d

Please sign in to comment.