From: Fridrich S. <str...@us...> - 2008-12-01 16:20:50
|
Update of /cvsroot/libwpg/perfectspot/src In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv6612/src Modified Files: CMakeLists.txt Log Message: removing some warnings and making use of pkgconfig even on win32 Index: CMakeLists.txt =================================================================== RCS file: /cvsroot/libwpg/perfectspot/src/CMakeLists.txt,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- CMakeLists.txt 28 Nov 2008 15:09:15 -0000 1.9 +++ CMakeLists.txt 1 Dec 2008 16:20:39 -0000 1.10 @@ -34,7 +34,11 @@ qt4_add_resources(perfectspot_RESOURCES_SOURCES ${perfectspot_RESOURCES}) add_executable(perfectspot ${perfectspot_SOURCES} ${perfectspot_RESOURCES_SOURCES}) +IF (NOT WIN32) target_link_libraries(perfectspot ${QT_LIBRARIES} ${LIBWPG_LIBRARIES} ${LIBWPD_LIBRARIES} ${LIBWPD_STREAM_LIBRARIES}) +ELSE (NOT WIN32) +target_link_libraries(perfectspot ${QT_LIBRARIES} ${LIBWPG_LIBRARIES} ${LIBWPD_LIBRARIES} ${LIBWPD_STREAM_LIBRARIES} -mwindows) +ENDIF (NOT WIN32) install(TARGETS ${PROGNAME} DESTINATION bin) install(FILES perfectspot.png DESTINATION share/pixmaps) |