Skip to content
Permalink
Browse files

Update Mac CMake file to reflect move (r6467) of config files from so…

…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
telwertowski committed Jan 28, 2007
1 parent 28e79f8 commit 2db1de49f9fb158747704b2a57b4a04357455d71
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/mac/Contents/CMakeLists.txt
@@ -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)

0 comments on commit 2db1de4

Please sign in to comment.
You can’t perform that action at this time.