mirror of
https://git.freebsd.org/ports.git
synced 2025-06-09 14:50:31 -04:00
math/libpoly: Fix build by removing -Werror
Reported by: fallout
This commit is contained in:
parent
61ea32a58c
commit
5e752ae738
1 changed files with 13 additions and 0 deletions
13
math/libpoly/files/patch-src_CMakeLists.txt
Normal file
13
math/libpoly/files/patch-src_CMakeLists.txt
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
--- src/CMakeLists.txt.orig 2023-08-25 03:26:04 UTC
|
||||||
|
+++ src/CMakeLists.txt
|
||||||
|
@@ -64,8 +64,8 @@ set(polyxx_SOURCES
|
||||||
|
)
|
||||||
|
|
||||||
|
# Add warnings as errors for good practice
|
||||||
|
-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Werror -Wextra -std=gnu99")
|
||||||
|
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Werror -Wextra -std=c++11")
|
||||||
|
+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -std=gnu99")
|
||||||
|
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -std=c++11")
|
||||||
|
|
||||||
|
include_directories(${GMP_INCLUDE_DIR})
|
||||||
|
include_directories(${libpoly_SOURCE_DIR}/include)
|
Loading…
Add table
Reference in a new issue