Skip to content


Browse files Browse the repository at this point in the history
Windows tweak for qgssvnversion.h - should work now for both MSYS and…
… MinGW generators

git-svn-id: c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Feb 22, 2007
1 parent c2ecff8 commit b5f9d75
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions CMakeLists.txt
Expand Up @@ -189,8 +189,11 @@ INCLUDE_DIRECTORIES(${CMAKE_BINARY_DIR})
IF (WIN32)

# TODO: create qgssvnversion.h properly
ADD_CUSTOM_TARGET(svnversion ALL echo \\"#define QGSSVNVERSION \\\"svn_rev_unavailable\\\" \\" > qgssvnversion.h
#ADD_CUSTOM_TARGET(svnversion ALL echo \\"#define QGSSVNVERSION \\\"svn_rev_unavailable\\\" \\" > qgssvnversion.h

# this should work with both msys and mingw generators
WRITE_FILE(${CMAKE_BINARY_DIR}/qgssvnversion.h "#define QGSSVNVERSION \"svn_rev_unavailable\"")


Expand Down

0 comments on commit b5f9d75

Please sign in to comment.