From a160ac9d8531f1702ad60a196d0d1914a0f683b9 Mon Sep 17 00:00:00 2001 From: Erik Kundiman Date: Thu, 5 Sep 2024 08:22:32 +0800 Subject: Get colladadom 2.3 build method to work on Fedora --- patches/collada-dom-v2.3-r7.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'patches') diff --git a/patches/collada-dom-v2.3-r7.patch b/patches/collada-dom-v2.3-r7.patch index a8d2687f8c..dc603d8af4 100644 --- a/patches/collada-dom-v2.3-r7.patch +++ b/patches/collada-dom-v2.3-r7.patch @@ -57,7 +57,7 @@ index 17fbaea..93b8256 100644 -add_library(collada14dom SHARED ${COLLADA_BASE_SOURCES} ${dom_files}) +add_library(collada14dom STATIC ${COLLADA_BASE_SOURCES} ${dom_files}) +target_compile_options(collada14dom PRIVATE -+ "-Wno-error=unused-result" ++ "-Wno-error=unused-result" "-Wno-cast-user-defined" +) +target_include_directories(collada14dom PRIVATE + ${colladadom_SOURCE_DIR}/include -- cgit v1.2.3