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/blenderplayer/bad_level_call_stubs/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/blenderplayer/bad_level_call_stubs/CMakeLists.txt')
-rw-r--r-- | source/blenderplayer/bad_level_call_stubs/CMakeLists.txt | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/source/blenderplayer/bad_level_call_stubs/CMakeLists.txt b/source/blenderplayer/bad_level_call_stubs/CMakeLists.txt index 28510b0a113..0974438c272 100644 --- a/source/blenderplayer/bad_level_call_stubs/CMakeLists.txt +++ b/source/blenderplayer/bad_level_call_stubs/CMakeLists.txt @@ -25,9 +25,9 @@ # ***** END GPL LICENSE BLOCK ***** # this warning on generated files gets annoying -REMOVE_STRICT_FLAGS() +remove_strict_flags() -SET(INC +set(INC . .. ../../../intern/guardedalloc @@ -36,23 +36,23 @@ SET(INC ../../../source/blender/blenkernel ) -SET(SRC +set(SRC stubs.c ) -IF(WITH_BUILDINFO) - ADD_DEFINITIONS(-DBUILD_DATE) - LIST(APPEND SRC +if(WITH_BUILDINFO) + add_definitions(-DBUILD_DATE) + list(APPEND SRC ../../creator/buildinfo.c ) -ENDIF(WITH_BUILDINFO) +endif() -IF(WITH_GAMEENGINE) - ADD_DEFINITIONS(-DWITH_GAMEENGINE) -ENDIF(WITH_GAMEENGINE) +if(WITH_GAMEENGINE) + add_definitions(-DWITH_GAMEENGINE) +endif() -IF(WITH_INTERNATIONAL) - ADD_DEFINITIONS(-DWITH_FREETYPE2) -ENDIF(WITH_INTERNATIONAL) +if(WITH_INTERNATIONAL) + add_definitions(-DWITH_FREETYPE2) +endif() -BLENDERLIB_NOLIST(blenkernel_blc "${SRC}" "${INC}") +blenderlib_nolist(blenkernel_blc "${SRC}" "${INC}") |