[QGIS Commit] r11476 - trunk/qgis

svn_qgis at osgeo.org svn_qgis at osgeo.org
Sat Aug 22 03:01:28 EDT 2009


Author: jef
Date: 2009-08-22 03:01:27 -0400 (Sat, 22 Aug 2009)
New Revision: 11476

Modified:
   trunk/qgis/CMakeLists.txt
Log:
cope with blanks in svnversion path on windows

Modified: trunk/qgis/CMakeLists.txt
===================================================================
--- trunk/qgis/CMakeLists.txt	2009-08-21 23:46:29 UTC (rev 11475)
+++ trunk/qgis/CMakeLists.txt	2009-08-22 07:01:27 UTC (rev 11476)
@@ -348,7 +348,7 @@
     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}
 	)



More information about the QGIS-commit mailing list