Files
ports/devel/libdispatch/files/patch-cmake_modules_DispatchCompilerWarnings.cmake
2026-10-04 04:07:15 +00:00

11 lines
549 B
CMake

--- cmake/modules/DispatchCompilerWarnings.cmake.orig 2024-06-13 00:13:26 UTC
+++ cmake/modules/DispatchCompilerWarnings.cmake
@@ -6,7 +6,6 @@ else()
# so that we can use __popcnt64
add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-fms-extensions>)
else()
- add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Werror>)
add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wall>)
add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wextra>)