diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-12-08 11:43:06 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-12-08 11:43:06 +0300 |
commit | afacd184982e58a9c830a3d5366e25983939a7ba (patch) | |
tree | 311ee6e5abfcda32e3cbad133276512d68abe25b /source/blender/collada/CMakeLists.txt | |
parent | 70df57df0f82be3966a09c8548bfde23fd5c17c4 (diff) |
use lowercase for cmake builtin names and macros, remove contents in else() and endif() which is no longer needed.
Diffstat (limited to 'source/blender/collada/CMakeLists.txt')
-rw-r--r-- | source/blender/collada/CMakeLists.txt | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/source/blender/collada/CMakeLists.txt b/source/blender/collada/CMakeLists.txt index 9d33885eb59..e0d53d2c2e4 100644 --- a/source/blender/collada/CMakeLists.txt +++ b/source/blender/collada/CMakeLists.txt @@ -24,9 +24,9 @@ # # ***** END GPL LICENSE BLOCK ***** -REMOVE_STRICT_FLAGS() +remove_strict_flags() -SET(INC +set(INC . ../blenlib ../blenkernel @@ -37,23 +37,23 @@ SET(INC ../../../intern/guardedalloc ) -IF(APPLE) - LIST(APPEND INC +if(APPLE) + list(APPEND INC ${OPENCOLLADA_INC}/COLLADAStreamWriter ${OPENCOLLADA_INC}/COLLADABaseUtils ${OPENCOLLADA_INC}/COLLADAFramework ${OPENCOLLADA_INC}/COLLADASaxFrameworkLoader ) -ELSE(APPLE) - LIST(APPEND INC +else() + list(APPEND INC ${OPENCOLLADA_INC}/COLLADAStreamWriter/include ${OPENCOLLADA_INC}/COLLADABaseUtils/include ${OPENCOLLADA_INC}/COLLADAFramework/include ${OPENCOLLADA_INC}/COLLADASaxFrameworkLoader/include ) -ENDIF(APPLE) +endif() -SET(SRC +set(SRC AnimationImporter.cpp ArmatureExporter.cpp ArmatureImporter.cpp @@ -95,8 +95,8 @@ SET(SRC collada_utils.h ) -IF(WITH_BUILDINFO) - ADD_DEFINITIONS(-DNAN_BUILDINFO) -ENDIF(WITH_BUILDINFO) +if(WITH_BUILDINFO) + add_definitions(-DNAN_BUILDINFO) +endif() -BLENDERLIB(bf_collada "${SRC}" "${INC}") +blenderlib(bf_collada "${SRC}" "${INC}") |