project(sigworld) set(sigworld_HEADERS Global.h MapScene.h TileGraphicsItem.h TrainerGraphicsItem.h WarpGraphicsItem.h ) set(sigworld_SRCS MapScene.cpp TileGraphicsItem.cpp TrainerGraphicsItem.cpp WarpGraphicsItem.cpp ) kde4_add_library(sigworld SHARED ${sigworld_SRCS} ) set_target_properties(sigworld PROPERTIES VERSION ${SIGEN_VERSION} SOVERSION ${SIGEN_SOVERSION} ) target_link_libraries(sigworld ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${KDE4_KROSSCORE_LIBRARY} sigcore sigscript ) target_link_libraries(sigworld LINK_INTERFACE_LIBRARIES ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} sigcore sigscript ) install( TARGETS sigworld EXPORT sigen_EXPORTS DESTINATION ${LIB_INSTALL_DIR} COMPONENT runtime ) install( FILES ${sigworld_HEADERS} DESTINATION ${INCLUDE_INSTALL_DIR}/${CMAKE_PROJECT_NAME}/${PROJECT_NAME} COMPONENT development )