Skip to content

Commit

Permalink
Update Mac CMake file to reflect move (r6467) of config files from so…
Browse files Browse the repository at this point in the history
…urce dir to binary dir.

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6468 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
telwertowski committed Jan 28, 2007
1 parent 28e79f8 commit 2db1de4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/mac/Contents/CMakeLists.txt
Expand Up @@ -3,18 +3,18 @@
# create Info.plist

ADD_CUSTOM_TARGET(Info.plist ALL
VERSION=`grep VERSION ${CMAKE_SOURCE_DIR}/qgsconfig.h |
VERSION=`grep VERSION ${CMAKE_BINARY_DIR}/qgsconfig.h |
sed -e "s/#define VERSION //"
-e "s/\\\"//g"` &&
SVNVERSION=`grep QGSSVNVERSION ${CMAKE_SOURCE_DIR}/qgssvnversion.h |
SVNVERSION=`grep QGSSVNVERSION ${CMAKE_BINARY_DIR}/qgssvnversion.h |
sed -e "s/#define QGSSVNVERSION //"
-e "s/\\\"//g"` &&
sed -e "s/@VERSION/$$VERSION/"
-e "s/@SHORTVERSION/$$VERSION/"
-e "s/@SVNVERSION/$$SVNVERSION/"
< ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist.in > Info.plist
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist.in
${CMAKE_SOURCE_DIR}/qgsconfig.h)
${CMAKE_BINARY_DIR}/qgsconfig.h)

ADD_DEPENDENCIES(Info.plist svnversion)

Expand Down

0 comments on commit 2db1de4

Please sign in to comment.