cglm: fix build flags
This commit is contained in:
parent
03adf7c630
commit
13a02baea7
|
@ -0,0 +1,13 @@
|
|||
Index: cglm-0.7.6/CMakeLists.txt
|
||||
===================================================================
|
||||
--- cglm-0.7.6.orig/CMakeLists.txt
|
||||
+++ cglm-0.7.6/CMakeLists.txt
|
||||
@@ -25,7 +25,7 @@ if(MSVC)
|
||||
add_definitions(-DNDEBUG -D_WINDOWS -D_USRDLL -DCGLM_EXPORTS -DCGLM_DLL)
|
||||
add_compile_options(/W3 /Ox /Gy /Oi /TC)
|
||||
else()
|
||||
- add_compile_options(-Wall -Werror -O3)
|
||||
+ add_compile_options(-Wall)
|
||||
endif()
|
||||
|
||||
if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
|
|
@ -9,6 +9,7 @@ license="MIT"
|
|||
homepage="https://github.com/recp/cglm"
|
||||
distfiles="https://github.com/recp/cglm/archive/v${version}.tar.gz"
|
||||
checksum=29ff8af4edc03697e36d3e6f99a80b884a80ee09d46055ce45765e5d6b2456d9
|
||||
patch_args=-Np1
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
|
|
Loading…
Reference in New Issue