From afacd184982e58a9c830a3d5366e25983939a7ba Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 8 Dec 2010 08:43:06 +0000 Subject: use lowercase for cmake builtin names and macros, remove contents in else() and endif() which is no longer needed. --- source/blender/blenfont/CMakeLists.txt | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'source/blender/blenfont') diff --git a/source/blender/blenfont/CMakeLists.txt b/source/blender/blenfont/CMakeLists.txt index 202a8de687f..1dc546bd6d5 100644 --- a/source/blender/blenfont/CMakeLists.txt +++ b/source/blender/blenfont/CMakeLists.txt @@ -22,7 +22,7 @@ # # ***** END GPL LICENSE BLOCK ***** -SET(INC +set(INC . ../blenlib ../makesdna @@ -33,7 +33,7 @@ SET(INC ${FREETYPE_INCLUDE_DIRS} ) -SET(SRC +set(SRC intern/blf.c intern/blf_dir.c intern/blf_font.c @@ -47,14 +47,14 @@ SET(SRC intern/blf_internal_types.h ) -IF(WITH_INTERNATIONAL) - LIST(APPEND INC ${GETTEXT_INC}) - ADD_DEFINITIONS(-DINTERNATIONAL) -ENDIF(WITH_INTERNATIONAL) +if(WITH_INTERNATIONAL) + list(APPEND INC ${GETTEXT_INC}) + add_definitions(-DINTERNATIONAL) +endif() -IF(WIN32 AND NOT UNIX) - ADD_DEFINITIONS(-DUSE_GETTEXT_DLL) -ENDIF(WIN32 AND NOT UNIX) +if(WIN32 AND NOT UNIX) + add_definitions(-DUSE_GETTEXT_DLL) +endif() -BLENDERLIB(bf_blenfont "${SRC}" "${INC}") +blenderlib(bf_blenfont "${SRC}" "${INC}") -- cgit v1.2.3