[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [23487] trunk/blender/source/creator/ CMakeLists.txt: fix for buildinfo on mac's

Campbell Barton ideasman42 at gmail.com
Fri Sep 25 15:09:21 CEST 2009


Revision: 23487
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=23487
Author:   campbellbarton
Date:     2009-09-25 15:09:18 +0200 (Fri, 25 Sep 2009)

Log Message:
-----------
fix for buildinfo on mac's

Modified Paths:
--------------
    trunk/blender/source/creator/CMakeLists.txt

Modified: trunk/blender/source/creator/CMakeLists.txt
===================================================================
--- trunk/blender/source/creator/CMakeLists.txt	2009-09-25 12:57:55 UTC (rev 23486)
+++ trunk/blender/source/creator/CMakeLists.txt	2009-09-25 13:09:18 UTC (rev 23487)
@@ -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 @@
 
 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)





More information about the Bf-blender-cvs mailing list