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>2009-09-25 17:09:18 +0400
committerCampbell Barton <ideasman42@gmail.com>2009-09-25 17:09:18 +0400
commit38ae41f94ea2045f71c9ba2a89778ea1e6ed93df (patch)
tree2bab636147e741dc61f1d1180ebbd257e01bb478 /source/creator/CMakeLists.txt
parentf49a18f30be875d9cae5a1872f40dc02ce0f1473 (diff)
fix for buildinfo on mac's
Diffstat (limited to 'source/creator/CMakeLists.txt')
-rw-r--r--source/creator/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt
index 0cc0d5d496b..a4c2bfa0008 100644
--- a/source/creator/CMakeLists.txt
+++ b/source/creator/CMakeLists.txt
@@ -24,6 +24,9 @@
#
# ***** END GPL LICENSE BLOCK *****
+# So BUILDINFO and BLENDERPATH strings are automatically quoted
+CMAKE_POLICY(SET CMP0005 NEW)
+
SETUP_LIBDIRS()
INCLUDE_DIRECTORIES(../../intern/guardedalloc
@@ -68,7 +71,6 @@ ENDIF(NOT WITH_SDL)
IF(UNIX AND NOT APPLE)
SET(BLENDERPATH ${CMAKE_INSTALL_PREFIX}/share/blender/${BLENDER_VERSION})
- CMAKE_POLICY(SET CMP0005 NEW)
# blender_path in creator.c
ADD_DEFINITIONS(-DBLENDERPATH="${BLENDERPATH}")
ENDIF(UNIX AND NOT APPLE)