pino showed me the wonders of set_target_properties. rock on!

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666770
This commit is contained in:
Aaron J. Seigo 2007-05-20 21:05:27 +00:00
parent 4de7a36e29
commit 8e7ccadd75

View File

@ -2,7 +2,7 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR})
########### next target ###############
set(plasmoid_LIB_SRCS
set(plasma_LIB_SRCS
abstractrunner.cpp
applet.cpp
dataengine.cpp
@ -19,14 +19,14 @@ set(plasmoid_LIB_SRCS
widgets/widget.cpp
)
kde4_automoc(${plasmoid_LIB_SRCS})
kde4_automoc(${plasma_LIB_SRCS})
kde4_add_library(plasmoid SHARED ${plasmoid_LIB_SRCS})
kde4_add_library(plasma SHARED ${plasma_LIB_SRCS})
target_link_libraries(plasmoid ${KDE4_KIO_LIBS} )
target_link_libraries(plasma ${KDE4_KIO_LIBS} )
set_target_properties(plasmoid PROPERTIES VERSION 1.0.0 SOVERSION 1 )
install(TARGETS plasmoid DESTINATION ${LIB_INSTALL_DIR} )
set_target_properties(plasma PROPERTIES VERSION 1.0.0 SOVERSION 1 )
install(TARGETS plasma DESTINATION ${LIB_INSTALL_DIR} )
########### install files ###############