fix dae readme

This commit is contained in:
Guilhem Saurel 2019-08-30 16:48:25 +02:00
parent bd50af117b
commit 297531e777

View File

@ -33,15 +33,16 @@ BUILD DEPENDENCIES
- iconv - iconv
A standard "ccmake ." while in the root of the OSG source will expose A standard "ccmake ." while in the root of the OSG source will expose
two CMake variables: COLLADA_INCLUDE_DIR and COLLADA_LIBRARY. Using two CMake variables: COLLADA_INCLUDE_DIR and COLLADA_DYNAMIC_LIBRARY (or
these two variables correctly can be a bit tricky (especially as COLLADA_STATIC_LIBRARY). Using these two variables correctly can be a bit
the "right" and "wrong" ways to use Collada are hard to define), but tricky (especially as the "right" and "wrong" ways to use Collada are hard to
I will briefly explain them below. define), but I will briefly explain them below.
COLLADA_INCLUDE_DIR: This variable wants the path where it can COLLADA_INCLUDE_DIR: This variable wants the path where it can
find the COLLADA headers. On most systems this will be something find the COLLADA headers. On most systems this will be something
like /usr/include or /usr/include/collada. like /usr/include or /usr/include/collada.
COLLADA_LIBRARY: This variable is asking for the FULL PATH to the COLLADA_DYNAMIC_LIBRARY (or COLLADA_STATIC_LIBRARY): This variable is asking
file libcollada_dom.a. As long as it can find this file, the for the FULL PATH to the file libcollada_dom.so (or libcollada_dom.a). As
OSG Collada ReaderWriter should build just fine. long as it can find this file, the OSG Collada ReaderWriter should build
just fine.