Allow colladadom library to be built standalone.
parent
88b51cf73f
commit
0a70d17db5
|
|
@ -0,0 +1,15 @@
|
|||
# -*- cmake -*-
|
||||
include (Prebuilt)
|
||||
|
||||
if (STANDALONE)
|
||||
find_path(COLLADA_INCLUDE_DIRS 1.4/dom/domConstants.h
|
||||
PATH_SUFFIXES collada)
|
||||
set(COLLADA_INCLUDE_DIRS
|
||||
${COLLADA_INCLUDE_DIRS} ${COLLADA_INCLUDE_DIRS}/1.4
|
||||
)
|
||||
else (STANDALONE)
|
||||
set(COLLADA_INCLUDE_DIRS
|
||||
${LIBS_PREBUILT_DIR}/include/collada
|
||||
${LIBS_PREBUILT_DIR}/include/collada/1.4
|
||||
)
|
||||
endif (STANDALONE)
|
||||
|
|
@ -8,6 +8,7 @@ include(LLMath)
|
|||
include(LLMessage)
|
||||
include(LLXML)
|
||||
include(LLPhysicsExtensions)
|
||||
include(ColladaDom)
|
||||
|
||||
include_directories(
|
||||
${LLCOMMON_INCLUDE_DIRS}
|
||||
|
|
@ -15,8 +16,9 @@ include_directories(
|
|||
${LLMESSAGE_INCLUDE_DIRS}
|
||||
${LLXML_INCLUDE_DIRS}
|
||||
${LLPHYSICSEXTENSIONS_INCLUDE_DIRS}
|
||||
${LIBS_PREBUILT_DIR}/include/collada
|
||||
${LIBS_PREBUILT_DIR}/include/collada/1.4
|
||||
# ${LIBS_PREBUILT_DIR}/include/collada
|
||||
# ${LIBS_PREBUILT_DIR}/include/collada/1.4
|
||||
${COLLADA_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
set(llprimitive_SOURCE_FILES
|
||||
|
|
|
|||
|
|
@ -46,6 +46,7 @@ include(VisualLeakDetector)
|
|||
include(GLOD)
|
||||
include(CMakeCopyIfDifferent)
|
||||
include(Growl)
|
||||
include(ColladaDom)
|
||||
|
||||
# <FS:ND> if using ndPhysicsstub this variable will be unset, we don't need to build any stub code viewer side in that case
|
||||
if( LLPHYSICSEXTENSIONS_SRC_DIR )
|
||||
|
|
@ -93,6 +94,7 @@ include_directories(
|
|||
${GROWL_INCLUDE_DIRS}
|
||||
${TEAPOT_INCLUDE_DIRS}# <FS:AW opensim currency support>
|
||||
${CMAKE_BINARY_DIR}/newview #<FS:TS> Flickr upload
|
||||
${COLLADA_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
set(viewer_SOURCE_FILES
|
||||
|
|
|
|||
Loading…
Reference in New Issue