Skip to content

Commit

Permalink
Revert "Suppress all gcc warnings for civetweb on macOS."
Browse files Browse the repository at this point in the history
This reverts commit 25fd38d.
  • Loading branch information
PengZheng committed Apr 25, 2024
1 parent 5cb658f commit 84f9ba6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/Findcivetweb.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ if (NOT civetweb_FOUND)
set(CIVETWEB_ENABLE_WEBSOCKETS TRUE CACHE BOOL "" FORCE)
set(CIVETWEB_BUILD_TESTING FALSE CACHE BOOL "" FORCE)
set(BUILD_SHARED_LIBS TRUE CACHE BOOL "" FORCE)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-atomic-implicit-seq-cst -Wno-error")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-atomic-implicit-seq-cst -Wno-alloca -Wno-cast-align -Wno-undef -Wno-date-time")
FetchContent_Declare(
civetweb
GIT_REPOSITORY https://github.com/civetweb/civetweb.git
Expand Down

0 comments on commit 84f9ba6

Please sign in to comment.