Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Want <cwant@ualberta.ca>2009-09-18 03:17:31 +0400
committerChris Want <cwant@ualberta.ca>2009-09-18 03:17:31 +0400
commitec9199776617d872418411cdc9fb13176d26e4d0 (patch)
tree6e92b082f79a51c1273c5ccee4b1dd6cb05b96a4 /CMakeLists.txt
parentc77f005b14ccd560b7f621a1a0953984894fc058 (diff)
Support for building opencollada branch using CMake. Not sure how
to tell the system to make the location of libpcre and libexpat a settable option though -- maybe somebody who is more of an expert can look at this.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index fc6a3d3ade8..1f96ed2222e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -68,6 +68,7 @@ OPTION(WITH_OPENJPEG "Enable OpenJpeg Support (http://www.openjpeg.org/)" OFF)
OPTION(WITH_OPENAL "Enable OpenAL Support (http://www.openal.org)" ON)
OPTION(WITH_OPENMP "Enable OpenMP (has to be supported by the compiler)" OFF)
OPTION(WITH_WEBPLUGIN "Enable Web Plugin (Unix only)" OFF)
+OPTION(WITH_OPENCOLLADA "Enable OpenCollada Support (http://www.opencollada.org/)" ON)
IF(NOT WITH_GAMEENGINE AND WITH_PLAYER)
MESSAGE("WARNING: WITH_PLAYER needs WITH_GAMEENGINE")
@@ -140,6 +141,19 @@ IF(UNIX AND NOT APPLE)
SET(SDL_LIB ${SDL_LIBRARY})
ENDIF(WITH_SDL)
+ IF(WITH_OPENCOLLADA)
+ SET(OPENCOLLADA /usr/local/opencollada)
+ SET(OPENCOLLADA_LIBPATH ${OPENCOLLADA})
+ SET(OPENCOLLADA_LIB OpenCollada)
+ SET(PCRE /usr)
+ SET(PCRE_LIBPATH ${PCRE}/lib)
+ SET(PCRE_LIB pcre)
+ SET(EXPAT /usr)
+ SET(EXPAT_LIBPATH ${EXPAT}/lib)
+ SET(EXPAT_LIB expat)
+
+ ENDIF(WITH_OPENCOLLADA)
+
FIND_PATH(OPENEXR_INC
ImfXdr.h
PATHS