Skip to content
Permalink
Browse files
Hack for generating qgssvnversion.h on WIN
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6535 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
homann committed Feb 6, 2007
1 parent 7049571 commit 152cbcabfc1c01c5ea55ab04edc7fae4edb193b3
Showing with 1 addition and 1 deletion.
  1. +1 −1 CMakeLists.txt
@@ -186,7 +186,7 @@ INCLUDE_DIRECTORIES(${CMAKE_BINARY_DIR})
IF (WIN32)

# TODO: create qgssvnversion.h properly
ADD_CUSTOM_TARGET(svnversion echo "#define QGSSVNVERSION \"svn\"" > qgssvnversion.h
ADD_CUSTOM_TARGET(svnversion ALL echo \\"#define QGSSVNVERSION \\\"svn_rev_unavailable\\\" \\" > qgssvnversion.h
WORKING_DIRECTORY ${CMAKE_BINARY_DIR})

ELSE (WIN32)

0 comments on commit 152cbca

Please sign in to comment.