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-09-18 07:55:56 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-09-18 07:55:56 +0400
commitdea59cc5eb6562272df361c062f7ed226c2b7a36 (patch)
tree6186fed79ff36667e4b295d9e62621d830635540 /source/blender/makesdna/intern/CMakeLists.txt
parentd5e11d409f470934eb77da194f1ee43df0ff7ac2 (diff)
warning fixes and minor cmake changes.
Diffstat (limited to 'source/blender/makesdna/intern/CMakeLists.txt')
-rw-r--r--source/blender/makesdna/intern/CMakeLists.txt10
1 files changed, 9 insertions, 1 deletions
diff --git a/source/blender/makesdna/intern/CMakeLists.txt b/source/blender/makesdna/intern/CMakeLists.txt
index 0eb42373d6d..d42289e17c4 100644
--- a/source/blender/makesdna/intern/CMakeLists.txt
+++ b/source/blender/makesdna/intern/CMakeLists.txt
@@ -28,7 +28,15 @@ INCLUDE_DIRECTORIES(../../../../intern/guardedalloc ..)
FILE(GLOB INC_FILES ../*.h)
# Build makesdna executable
-SET(SRC makesdna.c ../../../../intern/guardedalloc/intern/mallocn.c ../../../../intern/guardedalloc/intern/mmap_win.c)
+SET(SRC
+ makesdna.c
+ ../../../../intern/guardedalloc/intern/mallocn.c
+)
+
+IF(WIN32)
+ LIST(APPEND SRC ../../../../intern/guardedalloc/intern/mmap_win.c)
+ENDIF(WIN32)
+
ADD_EXECUTABLE(makesdna ${SRC} ${INC_FILES})
# Output dna.c