Skip to content

Commit

Permalink
Atempt to fix macos ci removing flags introduced to mute clang on win…
Browse files Browse the repository at this point in the history
…dows warnings
  • Loading branch information
fspindle committed Jul 17, 2023
1 parent 9295490 commit 2fa9fa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/AddExtraCompilationFlags.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ if(MSVC)
# Avoid build error C1128
list(APPEND VISP_EXTRA_CXX_FLAGS "/bigobj")
endif()
if((CMAKE_CXX_COMPILER MATCHES "clang") OR (CMAKE_CXX_COMPILER_ID MATCHES "Clang"))
if(REMOVE_FS AND (CMAKE_CXX_COMPILER MATCHES "clang") OR (CMAKE_CXX_COMPILER_ID MATCHES "Clang"))
add_extra_compiler_option("-Wno-c++98-compat") # turn off warning due to json
add_extra_compiler_option("-Wno-c++98-compat-pedantic")
add_extra_compiler_option("-Wno-c11-extensions")
Expand Down

0 comments on commit 2fa9fa0

Please sign in to comment.