Skip to content
Permalink
Browse files

Explicit linking to qt libs so that we dont link to unneeded ones e.g…

…. qtest

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7156 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux
timlinux committed Aug 27, 2007
1 parent c07d480 commit 788322b30c5c4a7e83ad94b3bfb0cd551a3cabc8
Showing with 15 additions and 2 deletions.
  1. +8 −1 src/core/CMakeLists.txt
  2. +7 −1 src/gui/CMakeLists.txt
@@ -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}
@@ -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
)

0 comments on commit 788322b

Please sign in to comment.
You can’t perform that action at this time.