Update of /cvsroot/libwpg/perfectspot/src
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv26584/src
Modified Files:
CMakeLists.txt
Log Message:
use a newer cmake macro for pkg-config stuff
Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/libwpg/perfectspot/src/CMakeLists.txt,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- CMakeLists.txt 1 Dec 2008 16:20:39 -0000 1.10
+++ CMakeLists.txt 5 Dec 2008 18:44:56 -0000 1.11
@@ -35,9 +35,9 @@
add_executable(perfectspot ${perfectspot_SOURCES} ${perfectspot_RESOURCES_SOURCES})
IF (NOT WIN32)
-target_link_libraries(perfectspot ${QT_LIBRARIES} ${LIBWPG_LIBRARIES} ${LIBWPD_LIBRARIES} ${LIBWPD_STREAM_LIBRARIES})
+target_link_libraries(perfectspot ${QT_LIBRARIES} ${LIBWPG_LDFLAGS} ${LIBWPD_LDFLAGS} ${LIBWPD_STREAM_LDFLAGS})
ELSE (NOT WIN32)
-target_link_libraries(perfectspot ${QT_LIBRARIES} ${LIBWPG_LIBRARIES} ${LIBWPD_LIBRARIES} ${LIBWPD_STREAM_LIBRARIES} -mwindows)
+target_link_libraries(perfectspot ${QT_LIBRARIES} ${LIBWPG_LDFLAGS} ${LIBWPD_LDFLAGS} ${LIBWPD_STREAM_LDFLAGS} -mwindows)
ENDIF (NOT WIN32)
install(TARGETS ${PROGNAME} DESTINATION bin)
|