mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-18 22:33:33 +00:00
build-all.py - opencollada patch to support config package on Unix
This commit is contained in:
@@ -892,6 +892,10 @@ if "libxml2" in targets:
|
|||||||
if "OpenCOLLADA" in targets:
|
if "OpenCOLLADA" in targets:
|
||||||
patches = ["./patches/opencollada/pr622_and_disable_subdirs.patch"]
|
patches = ["./patches/opencollada/pr622_and_disable_subdirs.patch"]
|
||||||
|
|
||||||
|
# This patch allows static libraries config on Unix,
|
||||||
|
# because the config is weird and doesn't allow non-shared libraries on Unix.
|
||||||
|
patches.append("./patches/opencollada/allow_static_libraries_config_on_unix.patch")
|
||||||
|
|
||||||
if "wasm" in flags:
|
if "wasm" in flags:
|
||||||
# This is necessary for the WASM build, because recent versions of
|
# This is necessary for the WASM build, because recent versions of
|
||||||
# clang don't have the tr1:: namespace anymore. However, it breaks
|
# clang don't have the tr1:: namespace anymore. However, it breaks
|
||||||
|
|||||||
@@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/OpenCOLLADAConfig.cmake.in b/OpenCOLLADAConfig.cmake.in
|
||||||
|
index d765b108..6800c2a7 100644
|
||||||
|
--- a/OpenCOLLADAConfig.cmake.in
|
||||||
|
+++ b/OpenCOLLADAConfig.cmake.in
|
||||||
|
@@ -31,7 +31,7 @@ set(OPENCOLLADA_INCLUDE_DIRS
|
||||||
|
include("@PACKAGE_OPENCOLLADA_INST_CMAKECONFIG@/OpenCOLLADATargets.cmake")
|
||||||
|
|
||||||
|
# Set the library variable
|
||||||
|
-if(UNIX)
|
||||||
|
+if(0)
|
||||||
|
set(OPENCOLLADA_LIBRARIES
|
||||||
|
ftoa_shared
|
||||||
|
buffer_shared
|
||||||
Reference in New Issue
Block a user