Skip to content
Permalink
Browse files
Hack for generating qgssvnversion.h on WIN
git-svn-id: http://svn.osgeo.org/qgis/trunk@6535 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
homann committed Feb 6, 2007
1 parent df2b8b2 commit 4f587f0c94f8b2a3b5a7d754be9fdd5fbed04b99
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 4f587f0

Please sign in to comment.