Could not find a package configuration file provided by "COLLADA_DOM" (sgal)
|Reported by:||hgmarques||Owned by:|
While compiling sgal I get:
CMake Error at CMakeLists.txt:46 (FIND_PACKAGE):
By not providing "FindCOLLADA_DOM.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "COLLADA_DOM", but CMake did not find one.
Could not find a package configuration file provided by "COLLADA_DOM" with any of the following names:
Add the installation prefix of "COLLADA_DOM" to CMAKE_PREFIX_PATH or set "COLLADA_DOM_DIR" to a directory containing one of the above files. If "COLLADA_DOM" provides a separate development package or SDK, be sure it has been installed.
The solution for it is either changing the name of the file FindColladaDom.cmake to FindCOLLADA_DOM.cmake in the modules folder or
change the line FIND_PACKAGE( COLLADA_DOM COMPONENTS 1.4 REQUIRED ) to FIND_PACKAGE( ColladaDom COMPONENTS 1.4 REQUIRED )
Once this is solved another related error appears:
CMake Error at modules/FindColladaDom.cmake:34 (IF):
if given arguments:
Unknown arguments specified
Call Stack (most recent call first):
This can be solved by adding the following line to the CMakeLists.cmake: