r14936 by fschmid - Better linking for the wpg import plugin.

scribus-commit scribus-commit at lists.scribus.net
Fri Mar 26 21:50:21 CET 2010


Revision: 14936
Author: fschmid
Date: 2010-03-26T20:48:37.979479Z
Commit message: Better linking for the wpg import plugin.

Changeset: 
M  /trunk/Scribus/scribus/plugins/import/wpg/CMakeLists.txt

Diffs:
Index: scribus/plugins/import/wpg/CMakeLists.txt
===================================================================
--- scribus/plugins/import/wpg/CMakeLists.txt	(revision 14935)
+++ scribus/plugins/import/wpg/CMakeLists.txt	(revision 14936)
@@ -2,7 +2,6 @@
     ${CMAKE_SOURCE_DIR}
     ${CMAKE_SOURCE_DIR}/scribus
 )
-LINK_DIRECTORIES(${PLUGIN_LIBRARIES} ${SCRIBUS_WPG_LIB})
 
 SET(IMPORTWPG_PLUGIN_MOC_CLASSES
     importwpg.h
@@ -15,7 +14,7 @@
 SET(SCRIBUS_IMPORTWPG_PLUGIN "importwpg")
 QT4_WRAP_CPP(IMPORTWPG_PLUGIN_MOC_SOURCES ${IMPORTWPG_PLUGIN_MOC_CLASSES})
 ADD_LIBRARY(${SCRIBUS_IMPORTWPG_PLUGIN} MODULE ${IMPORTWPG_PLUGIN_SOURCES} ${IMPORTWPG_PLUGIN_MOC_SOURCES})
-TARGET_LINK_LIBRARIES(${SCRIBUS_IMPORTWPG_PLUGIN} ${PLUGIN_LIBRARIES} ${SCRIBUS_WPG_LIB})
+TARGET_LINK_LIBRARIES(${SCRIBUS_IMPORTWPG_PLUGIN} ${PLUGIN_LIBRARIES})
 INSTALL(TARGETS ${SCRIBUS_IMPORTWPG_PLUGIN}
     LIBRARY
     DESTINATION ${PLUGINDIR}




More information about the scribus-commit mailing list