[QGIS Commit] r15813 - trunk/qgis/src/providers/grass

svn_qgis at osgeo.org svn_qgis at osgeo.org
Fri Apr 22 18:28:32 EDT 2011


Author: jef
Date: 2011-04-22 15:28:32 -0700 (Fri, 22 Apr 2011)
New Revision: 15813

Modified:
   trunk/qgis/src/providers/grass/CMakeLists.txt
Log:
fix mac build

Modified: trunk/qgis/src/providers/grass/CMakeLists.txt
===================================================================
--- trunk/qgis/src/providers/grass/CMakeLists.txt	2011-04-22 16:07:49 UTC (rev 15812)
+++ trunk/qgis/src/providers/grass/CMakeLists.txt	2011-04-22 22:28:32 UTC (rev 15813)
@@ -26,7 +26,7 @@
 )
 
 QT4_WRAP_CPP(GRASS_MOC_SRCS qgsgrassprovider.h)
-ADD_LIBRARY (qgisgrass SHARED ${GRASS_LIB_SRCS})
+ADD_LIBRARY (qgisgrass SHARED ${GRASS_LIB_SRCS} ${GRASS_MOC_SRCS})
 
 SET_TARGET_PROPERTIES(qgisgrass PROPERTIES VERSION ${COMPLETE_VERSION} SOVERSION ${COMPLETE_VERSION})
 
@@ -49,7 +49,7 @@
   SET_TARGET_PROPERTIES(qgisgrass PROPERTIES BUILD_WITH_INSTALL_RPATH TRUE )
 ENDIF (APPLE)
 
-ADD_LIBRARY (grassprovider MODULE ${GRASS_PROVIDER_SRCS} ${GRASS_MOC_SRCS})
+ADD_LIBRARY (grassprovider MODULE ${GRASS_PROVIDER_SRCS})
 
 IF (WIN32)
   SET_TARGET_PROPERTIES(grassprovider PROPERTIES COMPILE_FLAGS "\"-DGRASS_EXPORT=__declspec(dllexport)\"" )



More information about the QGIS-commit mailing list