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
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-05-24 09:21:51 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-05-24 09:21:51 +0400
commitdc33976fc2f80a4465306308fb07bb9d14c7b1da (patch)
treeb0ccc60567843eae5f59de6a0e8cc077adf7adaa /source
parent1e00590f1c2f8d98ed52f8e12d70723165edc9d3 (diff)
fix for cmake/msvc when the path name contains spaces, patch by Kupoman on IRC
Diffstat (limited to 'source')
-rw-r--r--source/creator/CMakeLists.txt17
1 files changed, 10 insertions, 7 deletions
diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt
index d592b432070..1dbbf2a4e70 100644
--- a/source/creator/CMakeLists.txt
+++ b/source/creator/CMakeLists.txt
@@ -459,15 +459,18 @@ elseif(WIN32)
)
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