Skip to content

Commit

Permalink
Explicit linking to qt libs so that we dont link to unneeded ones e.g…
Browse files Browse the repository at this point in the history
…. qtest

git-svn-id: http://svn.osgeo.org/qgis/trunk@7156 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Aug 27, 2007
1 parent 2170c4d commit af4c25d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
9 changes: 8 additions & 1 deletion src/core/CMakeLists.txt
Expand Up @@ -144,7 +144,14 @@ IF (WIN32)
ENDIF (WIN32)

TARGET_LINK_LIBRARIES(qgis_core
${QT_LIBRARIES} ${QT_QTSVG_LIBRARY}
${QT_QTCORE_LIBRARY}
${QT_QTGUI_LIBRARY}
${QT_QTXML_LIBRARY}
${QT_QTSQL_LIBRARY}
${QT_QTSVG_LIBRARY}
${QT_QTNETWORK_LIBRARY}
${QT_QTMAIN_LIBRARY}
${QT_QT3SUPPORT_LIBRARY}
${PROJ_LIBRARY}
${SQLITE3_LIBRARY}
${GEOS_LIBRARY}
Expand Down
8 changes: 7 additions & 1 deletion src/gui/CMakeLists.txt
Expand Up @@ -59,7 +59,13 @@ ADD_LIBRARY(qgis_gui SHARED ${QGIS_GUI_SRCS} ${QGIS_GUI_MOC_SRCS})
ADD_DEPENDENCIES(qgis_gui ui)

TARGET_LINK_LIBRARIES(qgis_gui
${QT_LIBRARIES}
${QT_QTGUI_LIBRARY}
${QT_QTXML_LIBRARY}
${QT_QTSQL_LIBRARY}
${QT_QTSVG_LIBRARY}
${QT_QTNETWORK_LIBRARY}
${QT_QTMAIN_LIBRARY}
${QT_QT3SUPPORT_LIBRARY}
${SQLITE3_LIBRARIES}
qgis_core
)
Expand Down

0 comments on commit af4c25d

Please sign in to comment.