Skip to content
Permalink
Browse files
Fix windows build issue - moc headers needed for grassprovider too
git-svn-id: http://svn.osgeo.org/qgis/trunk@15831 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Apr 27, 2011
1 parent 8fe653d commit 0a26980c1f75c12f3ba280eae342cff516fe37a3
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/grass/CMakeLists.txt
@@ -49,7 +49,7 @@ IF (APPLE)
SET_TARGET_PROPERTIES(qgisgrass PROPERTIES BUILD_WITH_INSTALL_RPATH TRUE )
ENDIF (APPLE)

ADD_LIBRARY (grassprovider MODULE ${GRASS_PROVIDER_SRCS})
ADD_LIBRARY (grassprovider MODULE ${GRASS_PROVIDER_SRCS} ${GRASS_MOC_SRCS})

IF (WIN32)
SET_TARGET_PROPERTIES(grassprovider PROPERTIES COMPILE_FLAGS "\"-DGRASS_EXPORT=__declspec(dllexport)\"" )

0 comments on commit 0a26980

Please sign in to comment.