Skip to content
Permalink
Browse files

cope with blanks in svnversion path on windows

git-svn-id: http://svn.osgeo.org/qgis/trunk@11476 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Aug 22, 2009
1 parent bf96ba5 commit faaafd83decc074bb43c40c4b41c350cbf3308af
Showing with 1 addition and 1 deletion.
  1. +1 −1 CMakeLists.txt
@@ -348,7 +348,7 @@ IF (SVN_MARKER)
IF(MSVC)
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/qgssvnversion.h
COMMAND for /f usebackq %%a in "(`${SVNVERSION}`)" do echo \#define QGSSVNVERSION \"%%a\" >${CMAKE_CURRENT_BINARY_DIR}/qgssvnversion.h
COMMAND for /f usebackq %%a in "(`\"${SVNVERSION}\"`)" do echo \#define QGSSVNVERSION \"%%a\" >${CMAKE_CURRENT_BINARY_DIR}/qgssvnversion.h
MAIN_DEPENDENCY ${SVN_MARKER}
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
)

0 comments on commit faaafd8

Please sign in to comment.
You can’t perform that action at this time.