Skip to content

Commit 5fc6b6f

Browse files
author
telwertowski
committed
Update Mac CMake file to reflect move (r6467) of config files from source dir to binary dir.
git-svn-id: http://svn.osgeo.org/qgis/trunk@6468 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent f902722 commit 5fc6b6f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/mac/Contents/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@
33
# create Info.plist
44

55
ADD_CUSTOM_TARGET(Info.plist ALL
6-
VERSION=`grep VERSION ${CMAKE_SOURCE_DIR}/qgsconfig.h |
6+
VERSION=`grep VERSION ${CMAKE_BINARY_DIR}/qgsconfig.h |
77
sed -e "s/#define VERSION //"
88
-e "s/\\\"//g"` &&
9-
SVNVERSION=`grep QGSSVNVERSION ${CMAKE_SOURCE_DIR}/qgssvnversion.h |
9+
SVNVERSION=`grep QGSSVNVERSION ${CMAKE_BINARY_DIR}/qgssvnversion.h |
1010
sed -e "s/#define QGSSVNVERSION //"
1111
-e "s/\\\"//g"` &&
1212
sed -e "s/@VERSION/$$VERSION/"
1313
-e "s/@SHORTVERSION/$$VERSION/"
1414
-e "s/@SVNVERSION/$$SVNVERSION/"
1515
< ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist.in > Info.plist
1616
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist.in
17-
${CMAKE_SOURCE_DIR}/qgsconfig.h)
17+
${CMAKE_BINARY_DIR}/qgsconfig.h)
1818

1919
ADD_DEPENDENCIES(Info.plist svnversion)
2020

0 commit comments

Comments
 (0)