diff options
Diffstat (limited to 'vcpkg/ports/bext-mp/fix-build-flags.patch')
| -rw-r--r-- | vcpkg/ports/bext-mp/fix-build-flags.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/vcpkg/ports/bext-mp/fix-build-flags.patch b/vcpkg/ports/bext-mp/fix-build-flags.patch new file mode 100644 index 0000000..960dfa2 --- /dev/null +++ b/vcpkg/ports/bext-mp/fix-build-flags.patch @@ -0,0 +1,17 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index deaa67c..fb82294 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -34,10 +34,10 @@ target_sources(mp + if(PROJECT_IS_TOP_LEVEL) + if("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang") + target_compile_options(mp INTERFACE +- $<BUILD_INTERFACE:-stdlib=libc++ -Wall -Wextra -Wpedantic -Werror>) ++ $<BUILD_INTERFACE:-stdlib=libc++ -Wall -Wextra -Wpedantic>) + target_link_options(mp INTERFACE $<BUILD_INTERFACE:-stdlib=libc++>) + elseif("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") +- target_compile_options(mp INTERFACE $<BUILD_INTERFACE:-Wall -Wextra -Wpedantic -Werror>) ++ target_compile_options(mp INTERFACE $<BUILD_INTERFACE:-Wall -Wextra -Wpedantic>) + endif() + endif() + |