[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [36849] trunk/blender/source/creator/ CMakeLists.txt: fix for cmake/msvc when the path name contains spaces, patch by Kupoman on IRC
Campbell Barton
ideasman42 at gmail.com
Tue May 24 07:21:51 CEST 2011
Revision: 36849
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=36849
Author: campbellbarton
Date: 2011-05-24 05:21:51 +0000 (Tue, 24 May 2011)
Log Message:
-----------
fix for cmake/msvc when the path name contains spaces, patch by Kupoman on IRC
Modified Paths:
--------------
trunk/blender/source/creator/CMakeLists.txt
Modified: trunk/blender/source/creator/CMakeLists.txt
===================================================================
--- trunk/blender/source/creator/CMakeLists.txt 2011-05-24 04:35:21 UTC (rev 36848)
+++ trunk/blender/source/creator/CMakeLists.txt 2011-05-24 05:21:51 UTC (rev 36849)
@@ -459,15 +459,18 @@
)
if(WITH_PYTHON_INSTALL)
- #~ # note, as far as python is concerned 'RelWithDebInfo' is not debug since its without debug flags.
+ # note, as far as python is concerned 'RelWithDebInfo' is not debug since its without debug flags.
# create the directory in multiple steps, so it actually gets created when it doesn't exist yet
- install(CODE "
- message(\"creating ${TARGETDIR_VER}/python/lib\")
- file(MAKE_DIRECTORY ${TARGETDIR_VER}/python/)
- file(MAKE_DIRECTORY ${TARGETDIR_VER}/python/lib/)
- message(\"done creating dir\")
- ")
+ install(
+ CODE
+ "
+ message(\"creating ${TARGETDIR_VER}/python/lib\")
+ file(MAKE_DIRECTORY \"${TARGETDIR_VER}/python/\")
+ file(MAKE_DIRECTORY \"${TARGETDIR_VER}/python/lib/\")
+ message(\"done creating dir\")
+ "
+ )
install(
CODE
More information about the Bf-blender-cvs
mailing list