Open hobbes1069 opened 6 years ago
Ok, whoops, looks like someone modified my package... Should these get installed?
bin/COLLADAPhysX3Schema.xsd
bin/DAEValidator
bin/OpenCOLLADAValidator bin/collada_schema_1_4_1.xsd
bin/collada_schema_1_5.xsd
???
Making the library static fixed it for me...
--- a/DAEValidator/CMakeLists.txt
+++ b/DAEValidator/CMakeLists.txt
@@ -59,7 +59,7 @@ set(DAEValidatorLibrarySources
library/include/XmlSchema.h
library/include/win/dirent.h
)
-add_library(DAEValidatorLibrary ${DAEValidatorLibrarySources})
+add_library(DAEValidatorLibrary STATIC ${DAEValidatorLibrarySources})
include_directories("library/include")
I'm willing to do a pull request but which why should I go? Install the library or build as static if DAEValidator is the only consumer of the library?
I think you should keep the .so because DAEValidatorLibrary is intended to provide validation and coherency check services to any application, not just the one tool. It's analogous to an XML parser vs a validating XML parser.
Ok, when I have some spare cycles I'll see about updating the cmake config to properly install it.
Which gives the following error in the Fedora update system: