forked from bartvdbraak/blender
fix for cmake/msvc when the path name contains spaces, patch by Kupoman on IRC
This commit is contained in:
parent
1e00590f1c
commit
dc33976fc2
@ -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 "
|
||||
install(
|
||||
CODE
|
||||
"
|
||||
message(\"creating ${TARGETDIR_VER}/python/lib\")
|
||||
file(MAKE_DIRECTORY ${TARGETDIR_VER}/python/)
|
||||
file(MAKE_DIRECTORY ${TARGETDIR_VER}/python/lib/)
|
||||
file(MAKE_DIRECTORY \"${TARGETDIR_VER}/python/\")
|
||||
file(MAKE_DIRECTORY \"${TARGETDIR_VER}/python/lib/\")
|
||||
message(\"done creating dir\")
|
||||
")
|
||||
"
|
||||
)
|
||||
|
||||
install(
|
||||
CODE
|
||||
|
Loading…
Reference in New Issue
Block a user