Only link with Qt-GUI and Qt-Core
authorAndre Heinecke <Andre Heinecke aheinecke@intevation.de>
Mon, 9 Aug 2010 08:29:36 +0000 (10:29 +0200)
committerAndre Heinecke <Andre Heinecke aheinecke@intevation.de>
Mon, 9 Aug 2010 08:29:36 +0000 (10:29 +0200)
CMakeLists.txt
ChangeLog

index 174140d..1c7a6ef 100644 (file)
@@ -56,8 +56,7 @@ set(pinentry_qt_SRCS
 qt4_automoc(${qtproject_SRCS})
 
 add_executable(pinentry-qt ${pinentry_qt_SRCS})
-target_link_libraries(pinentry-qt ${QT_LIBRARIES})
-
+target_link_libraries(pinentry-qt ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY})
 install(TARGETS pinentry-qt DESTINATION bin)
 
 
index 3b818ba..eea1ca7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2010-08-09  Andre Heinecke <aheinecke@intevation.de>
 
        * CMakelists.txt: Disable some Microsoft-CRT deprecation warnings
+       * CMakelists.txt: Only link with Qt-GUI and Qt-Core
 
 2010-06-28  Werner Koch  <wk@g10code.com>