Skip to content

Commit

Permalink
Try again.
Browse files Browse the repository at this point in the history
  • Loading branch information
Idhrendur committed Jan 12, 2025
1 parent 7392887 commit 5f73c39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ if (PLATFORM STREQUAL "Windows")
target_compile_options(commonLib PRIVATE /permissive /W4 /w14242 /w14254 /w14263 /w14265 /w14287 /we4289 /w14296 /w14311 /w14545 /w14546
/w14547 /w14549 /w14555 /w14619 /w14640 /w14826 /w14905 /w14906 /w14928 /external:anglebrackets /external:W0 /WX)
elseif (PLATFORM STREQUAL "Linux")
target_compile_options(commonLib -Wno-unknown-pragmas)
target_compile_options(commonLib -Wno-deprecated-declarations)
endif (PLATFORM STREQUAL "Windows")

set(tests
Expand Down Expand Up @@ -107,7 +107,7 @@ if (PLATFORM STREQUAL "Windows")
target_compile_options(${PROJECT_NAME} PRIVATE /permissive /W4 /w14242 /w14254 /w14263 /w14265 /w14287 /we4289 /w14296 /w14311 /w14545 /w14546
/w14547 /w14549 /w14555 /w14619 /w14640 /w14826 /w14905 /w14906 /w14928 /external:anglebrackets /external:W0 /WX)
elseif (PLATFORM STREQUAL "Linux")
target_compile_options(${PROJECT_NAME} -Wno-unknown-pragmas)
target_compile_options(${PROJECT_NAME} -Wno-deprecated-declarations)
endif (PLATFORM STREQUAL "Windows")

################################################################################
Expand Down

0 comments on commit 5f73c39

Please sign in to comment.