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/imbuf/intern | |
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/imbuf/intern')
-rw-r--r-- | source/blender/imbuf/intern/cineon/CMakeLists.txt | 6 | ||||
-rw-r--r-- | source/blender/imbuf/intern/dds/CMakeLists.txt | 10 | ||||
-rw-r--r-- | source/blender/imbuf/intern/openexr/CMakeLists.txt | 12 |
3 files changed, 14 insertions, 14 deletions
diff --git a/source/blender/imbuf/intern/cineon/CMakeLists.txt b/source/blender/imbuf/intern/cineon/CMakeLists.txt index f4754719761..d9cfc04cf8d 100644 --- a/source/blender/imbuf/intern/cineon/CMakeLists.txt +++ b/source/blender/imbuf/intern/cineon/CMakeLists.txt @@ -24,7 +24,7 @@ # # ***** END GPL LICENSE BLOCK ***** -SET(INC +set(INC . .. ../../ @@ -34,7 +34,7 @@ SET(INC ../../../../../intern/guardedalloc ) -SET(SRC +set(SRC cineon_dpx.c cineonlib.c dpxlib.c @@ -43,4 +43,4 @@ SET(SRC logmemfile.c ) -BLENDERLIB(bf_imbuf_cineon "${SRC}" "${INC}") +blenderlib(bf_imbuf_cineon "${SRC}" "${INC}") diff --git a/source/blender/imbuf/intern/dds/CMakeLists.txt b/source/blender/imbuf/intern/dds/CMakeLists.txt index 5634368383d..44341c7e861 100644 --- a/source/blender/imbuf/intern/dds/CMakeLists.txt +++ b/source/blender/imbuf/intern/dds/CMakeLists.txt @@ -24,7 +24,7 @@ # # ***** END GPL LICENSE BLOCK ***** -SET(INC +set(INC . .. ./intern/include @@ -35,7 +35,7 @@ SET(INC ../../../../../intern/guardedalloc ) -SET(SRC +set(SRC BlockDXT.cpp ColorBlock.cpp DirectDrawSurface.cpp @@ -45,7 +45,7 @@ SET(SRC ) if(WITH_IMAGE_DDS) - ADD_DEFINITIONS(-DWITH_DDS) -ENDIF(WITH_IMAGE_DDS) + add_definitions(-DWITH_DDS) +endif() -BLENDERLIB(bf_imbuf_dds "${SRC}" "${INC}") +blenderlib(bf_imbuf_dds "${SRC}" "${INC}") diff --git a/source/blender/imbuf/intern/openexr/CMakeLists.txt b/source/blender/imbuf/intern/openexr/CMakeLists.txt index edea033bb3a..958abc4d1f6 100644 --- a/source/blender/imbuf/intern/openexr/CMakeLists.txt +++ b/source/blender/imbuf/intern/openexr/CMakeLists.txt @@ -24,7 +24,7 @@ # # ***** END GPL LICENSE BLOCK ***** -SET(INC +set(INC . ../../../blenkernel ../../ @@ -36,12 +36,12 @@ SET(INC ${OPENEXR_INC} ) -SET(SRC +set(SRC openexr_api.cpp ) -IF(WITH_IMAGE_OPENEXR) - ADD_DEFINITIONS(-DWITH_OPENEXR) -ENDIF(WITH_IMAGE_OPENEXR) +if(WITH_IMAGE_OPENEXR) + add_definitions(-DWITH_OPENEXR) +endif() -BLENDERLIB(bf_imbuf_openexr "${SRC}" "${INC}") +blenderlib(bf_imbuf_openexr "${SRC}" "${INC}") |