diff --git a/cmake/Findcivetweb.cmake b/cmake/Findcivetweb.cmake index 00bc77e90..6cc6546ad 100644 --- a/cmake/Findcivetweb.cmake +++ b/cmake/Findcivetweb.cmake @@ -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