mirror of
https://git.freebsd.org/ports.git
synced 2025-04-29 01:56:37 -04:00
Some parts of glm were retroactively marked as experimental, and using now leads to a compile error - added override for this error to consumers which need it.
19 lines
568 B
Text
19 lines
568 B
Text
--- test/CMakeLists.txt.orig 2024-02-27 17:19:47 UTC
|
|
+++ test/CMakeLists.txt
|
|
@@ -11,7 +11,7 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
|
endif()
|
|
|
|
if(NOT GLM_DISABLE_AUTO_DETECTION)
|
|
- add_compile_options(-Werror -Weverything)
|
|
+ add_compile_options(-Weverything)
|
|
endif()
|
|
|
|
elseif(CMAKE_CXX_COMPILER_ID MATCHES "GNU")
|
|
@@ -20,7 +20,6 @@ elseif(CMAKE_CXX_COMPILER_ID MATCHES "GNU")
|
|
endif()
|
|
|
|
if(NOT GLM_DISABLE_AUTO_DETECTION)
|
|
- add_compile_options(-Werror)
|
|
# add_compile_options(-Wpedantic)
|
|
# add_compile_options(-Wall)
|
|
# add_compile_options(-Wextra)
|