Commit 27b9d48c authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix pb when path has space

svn path=/trunk/KDE/kdeedu/marble/; revision=722664
parent da3c0f2a
......@@ -145,14 +145,14 @@ CONFIGURE_FILE(
@ONLY)
ADD_CUSTOM_COMMAND (
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/marblesvnversion.h
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/marblesvnversion.h"
DEPENDS ${SVN_MARKER}
COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_BINARY_DIR}/svnscript.cmake
COMMAND ${CMAKE_COMMAND} -P "${CMAKE_CURRENT_BINARY_DIR}/svnscript.cmake"
)
# Add a custom target to drive the custom command.
ADD_CUSTOM_TARGET(svnversion
ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/marblesvnversion.h)
ALL DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/marblesvnversion.h")
#############################################################
......
......@@ -13,5 +13,5 @@ ELSE (SVNVERSION)
ENDIF (SVNVERSION)
# Configure the marblesvnversion.h
CONFIGURE_FILE(@CMAKE_CURRENT_SOURCE_DIR@/cmake_templates/marblesvnversion.h.in_cmake
@CMAKE_CURRENT_BINARY_DIR@/marblesvnversion.h)
CONFIGURE_FILE("@CMAKE_CURRENT_SOURCE_DIR@/cmake_templates/marblesvnversion.h.in_cmake"
"@CMAKE_CURRENT_BINARY_DIR@/marblesvnversion.h")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment