Skip to content

Commit

Permalink
fix windows link errors
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8692 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Jun 30, 2008
1 parent 42b30c0 commit af1e475
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/providers/delimitedtext/CMakeLists.txt
Expand Up @@ -4,9 +4,7 @@

SET (DTEXT_SRCS qgsdelimitedtextprovider.cpp)

SET (DTEXT_MOC_HDRS
qgsdelimitedtextprovider.h
)
SET (DTEXT_MOC_HDRS qgsdelimitedtextprovider.h)

########################################################
# Build
Expand All @@ -18,7 +16,9 @@ INCLUDE_DIRECTORIES(
${GEOS_INCLUDE_DIR}
)

ADD_LIBRARY(delimitedtextprovider MODULE ${DTEXT_SRCS})
QT4_WRAP_CPP(DTEXT_MOC_SRCS ${DTEXT_MOC_HDRS})

ADD_LIBRARY(delimitedtextprovider MODULE ${DTEXT_SRCS} ${DTEXT_MOC_SRCS})

TARGET_LINK_LIBRARIES(delimitedtextprovider
${QT_QTCORE_LIBRARY}
Expand Down
5 changes: 3 additions & 2 deletions src/providers/gpx/CMakeLists.txt
Expand Up @@ -8,7 +8,6 @@ SET (GPX_MOC_HDRS
qgsgpxprovider.h
)


########################################################
# Build

Expand All @@ -18,7 +17,9 @@ INCLUDE_DIRECTORIES(
${EXPAT_INCLUDE_DIR}
)

ADD_LIBRARY(gpxprovider MODULE ${GPX_SRCS})
QT4_WRAP_CPP(GPX_MOC_SRCS ${GPX_MOC_HDRS})

ADD_LIBRARY(gpxprovider MODULE ${GPX_SRCS} ${GPX_MOC_SRCS})

TARGET_LINK_LIBRARIES(gpxprovider
${QT_QTCORE_LIBRARY}
Expand Down

0 comments on commit af1e475

Please sign in to comment.