Add cmake file for collada and glod.
This fixes standalone when those libraries are installed elsewhere. Note that it "breaks" standalone if you just installed the prebuilt manually. For that to work you have to add /.../libraries/include to CMAKE_INCLUDE_PATH, which is not recommended because it would pick up any other prebuilt over your system installed libraries. Instead, for standalone, install the libraries somewhere with some prefix and then add that prefix to the environment variable CMAKE_PREFIX_PATH. For example, $prefix/include/collada and $prefix/lib/libcollada4dom.so
This commit is contained in:
@@ -58,7 +58,7 @@ include_directories(
|
||||
${HUNSPELL_INCLUDE_DIR}
|
||||
${ELFIO_INCLUDE_DIR}
|
||||
${JSONCPP_INCLUDE_DIRS}
|
||||
${GLOD_INCLUDE_DIR}
|
||||
${GLOD_INCLUDE_DIRS}
|
||||
${LLAUDIO_INCLUDE_DIRS}
|
||||
${LLCHARACTER_INCLUDE_DIRS}
|
||||
${LLCOMMON_INCLUDE_DIRS}
|
||||
@@ -76,8 +76,6 @@ include_directories(
|
||||
${LLXML_INCLUDE_DIRS}
|
||||
# ${LSCRIPT_INCLUDE_DIRS}
|
||||
# ${LSCRIPT_INCLUDE_DIRS}/lscript_compile
|
||||
${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/collada
|
||||
${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/collada/1.4
|
||||
)
|
||||
|
||||
set(viewer_SOURCE_FILES
|
||||
|
||||
Reference in New Issue
Block a user