Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-12-08 11:43:06 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-12-08 11:43:06 +0300
commitafacd184982e58a9c830a3d5366e25983939a7ba (patch)
tree311ee6e5abfcda32e3cbad133276512d68abe25b /source/blender/blenlib/CMakeLists.txt
parent70df57df0f82be3966a09c8548bfde23fd5c17c4 (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/blenlib/CMakeLists.txt')
-rw-r--r--source/blender/blenlib/CMakeLists.txt18
1 files changed, 9 insertions, 9 deletions
diff --git a/source/blender/blenlib/CMakeLists.txt b/source/blender/blenlib/CMakeLists.txt
index a30cbebb539..a827c7879e1 100644
--- a/source/blender/blenlib/CMakeLists.txt
+++ b/source/blender/blenlib/CMakeLists.txt
@@ -24,7 +24,7 @@
#
# ***** END GPL LICENSE BLOCK *****
-SET(INC
+set(INC
.
../makesdna
../blenkernel
@@ -35,7 +35,7 @@ SET(INC
${FREETYPE_INCLUDE_DIRS}
)
-SET(SRC
+set(SRC
intern/BLI_args.c
intern/BLI_dynstr.c
intern/BLI_ghash.c
@@ -131,12 +131,12 @@ SET(SRC
intern/dynamiclist.h
)
-IF(CMAKE_SYSTEM_NAME MATCHES "Linux")
- LIST(APPEND INC "${BINRELOC_INC}")
-ENDIF(CMAKE_SYSTEM_NAME MATCHES "Linux")
+if(CMAKE_SYSTEM_NAME MATCHES "Linux")
+ list(APPEND INC "${BINRELOC_INC}")
+endif()
-IF(WITH_OPENMP)
- ADD_DEFINITIONS(-DPARALLEL=1)
-ENDIF(WITH_OPENMP)
+if(WITH_OPENMP)
+ add_definitions(-DPARALLEL=1)
+endif()
-BLENDERLIB(bf_blenlib "${SRC}" "${INC}")
+blenderlib(bf_blenlib "${SRC}" "${INC}")