Skip to content

Commit

Permalink
Suppress certain gcc warnings on macOS.
Browse files Browse the repository at this point in the history
  • Loading branch information
PengZheng committed Apr 25, 2024
1 parent 500c1e7 commit 5283eb3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake/Findcivetweb.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +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-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 5283eb3

Please sign in to comment.