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. --- intern/guardedalloc/CMakeLists.txt | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'intern/guardedalloc') diff --git a/intern/guardedalloc/CMakeLists.txt b/intern/guardedalloc/CMakeLists.txt index a095f050659..4ae0b17575b 100644 --- a/intern/guardedalloc/CMakeLists.txt +++ b/intern/guardedalloc/CMakeLists.txt @@ -24,29 +24,29 @@ # # ***** END GPL LICENSE BLOCK ***** -SET(INC .) +set(INC .) -SET(SRC +set(SRC ./intern/mallocn.c BLO_sys_types.h MEM_guardedalloc.h ) -IF(WIN32 AND NOT UNIX) - LIST(APPEND SRC +if(WIN32 AND NOT UNIX) + list(APPEND SRC intern/mmap_win.c mmap_win.h ) -ENDIF(WIN32 AND NOT UNIX) +endif() -BLENDERLIB(bf_intern_guardedalloc "${SRC}" "${INC}") +blenderlib(bf_intern_guardedalloc "${SRC}" "${INC}") # Override C++ alloc, optional. -IF(WITH_CXX_GUARDEDALLOC) - SET(SRC +if(WITH_CXX_GUARDEDALLOC) + set(SRC cpp/mallocn.cpp ) - BLENDERLIB(bf_intern_guardedalloc_cpp "${SRC}" "${INC}") -ENDIF(WITH_CXX_GUARDEDALLOC) + blenderlib(bf_intern_guardedalloc_cpp "${SRC}" "${INC}") +endif() -- cgit v1.2.3