Commit df553591 authored by Laurent Montel's avatar Laurent Montel

Use INSTALL_TARGETS_DEFAULT_ARGS

svn path=/trunk/koffice/; revision=877719
parent cf54e76b
......@@ -136,8 +136,8 @@ endif(Boost_FOUND)
if(WIN32)
set(LIB_INSTALL_DIR ${LIB_INSTALL_DIR}
RUNTIME DESTINATION ${BIN_INSTALL_DIR}
LIBRARY DESTINATION ${LIB_INSTALL_DIR}
ARCHIVE DESTINATION ${LIB_INSTALL_DIR} )
LIBRARY ${INSTALL_TARGETS_DEFAULT_ARGS}
ARCHIVE ${INSTALL_TARGETS_DEFAULT_ARGS} )
endif(WIN32)
add_subdirectory(libs)
......
......@@ -13,7 +13,7 @@ kde4_add_library(kochart SHARED ${kochart_LIB_SRCS})
target_link_libraries(kochart ${KDE4_KDEUI_LIBS} ${KDE4_KPARTS_LIBS} ${QT_QT3SUPPORT_LIBRARY} ${KDE4_KDECORE_LIBS} komain )
set_target_properties(kochart PROPERTIES VERSION ${GENERIC_KOFFICE_LIB_VERSION} SOVERSION ${GENERIC_KOFFICE_LIB_SOVERSION} )
install(TARGETS kochart DESTINATION ${LIB_INSTALL_DIR})
install(TARGETS kochart ${INSTALL_TARGETS_DEFAULT_ARGS})
########### install files ###############
......
......@@ -111,7 +111,7 @@ if (SHOULD_BUILD_KRITA)
target_link_libraries(kdeinit_krita kritaui)
install(TARGETS kdeinit_krita DESTINATION ${LIB_INSTALL_DIR})
install(TARGETS kdeinit_krita ${INSTALL_TARGETS_DEFAULT_ARGS})
target_link_libraries(krita ${QT_QTCORE_LIBRARY} kdeinit_krita)
......
......@@ -15,7 +15,7 @@ kde4_add_library(kritagrayscale SHARED ${kritagrayscale_LIB_SRCS})
target_link_libraries(kritagrayscale pigmentcms )
set_target_properties(kritagrayscale PROPERTIES VERSION ${GENERIC_KOFFICE_LIB_VERSION} SOVERSION ${GENERIC_KOFFICE_LIB_SOVERSION} )
install(TARGETS kritagrayscale DESTINATION ${LIB_INSTALL_DIR})
install(TARGETS kritagrayscale ${INSTALL_TARGETS_DEFAULT_ARGS})
########### next target ###############
......
......@@ -13,7 +13,7 @@ kde4_add_library(krita_xyz_u16 SHARED ${krita_xyz_u16_LIB_SRCS})
target_link_libraries(krita_xyz_u16 pigmentcms )
set_target_properties(krita_xyz_u16 PROPERTIES VERSION ${GENERIC_KOFFICE_LIB_VERSION} SOVERSION ${GENERIC_KOFFICE_LIB_SOVERSION} )
install(TARGETS krita_xyz_u16 DESTINATION ${LIB_INSTALL_DIR})
install(TARGETS krita_xyz_u16 ${INSTALL_TARGETS_DEFAULT_ARGS})
########### next target ###############
......
......@@ -160,7 +160,7 @@ set_target_properties(kritaimage PROPERTIES
VERSION ${GENERIC_KOFFICE_LIB_VERSION} SOVERSION ${GENERIC_KOFFICE_LIB_SOVERSION}
${KDE4_DISABLE_PROPERTY_}LINK_INTERFACE_LIBRARIES "koguiutils;${KDE4_KPARTS_LIBS};${QT_QT3SUPPORT_LIBRARY}"
)
install(TARGETS kritaimage DESTINATION ${LIB_INSTALL_DIR})
install(TARGETS kritaimage ${INSTALL_TARGETS_DEFAULT_ARGS})
########### install files ###############
......
......@@ -9,4 +9,4 @@ kde4_add_library(KritaRulerAssistantCommon SHARED ${kritarulerassistantcommon_PA
target_link_libraries(KritaRulerAssistantCommon kritaui)
install(TARGETS KritaRulerAssistantCommon DESTINATION ${LIB_INSTALL_DIR})
install(TARGETS KritaRulerAssistantCommon ${INSTALL_TARGETS_DEFAULT_ARGS})
......@@ -32,5 +32,5 @@ set_target_properties(kritadynamicbrush
${KDE4_DISABLE_PROPERTY_}LINK_INTERFACE_LIBRARIES "kritaui"
)
install(TARGETS kritadynamicbrush DESTINATION ${LIB_INSTALL_DIR})
install(TARGETS kritadynamicbrush ${INSTALL_TARGETS_DEFAULT_ARGS})
......@@ -12,5 +12,5 @@ target_link_libraries(kritabasicdynamiccoloringprogram kritadynamicbrush)
set_target_properties(kritabasicdynamiccoloringprogram PROPERTIES VERSION ${GENERIC_KOFFICE_LIB_VERSION} SOVERSION ${GENERIC_KOFFICE_LIB_SOVERSION} )
install(TARGETS kritabasicdynamiccoloringprogram DESTINATION ${LIB_INSTALL_DIR})
install(TARGETS kritabasicdynamiccoloringprogram ${INSTALL_TARGETS_DEFAULT_ARGS})
......@@ -12,5 +12,5 @@ target_link_libraries(kritabasicdynamicshapeprogram kritadynamicbrush)
set_target_properties(kritabasicdynamicshapeprogram PROPERTIES VERSION ${GENERIC_KOFFICE_LIB_VERSION} SOVERSION ${GENERIC_KOFFICE_LIB_SOVERSION} )
install(TARGETS kritabasicdynamicshapeprogram DESTINATION ${LIB_INSTALL_DIR})
install(TARGETS kritabasicdynamicshapeprogram ${INSTALL_TARGETS_DEFAULT_ARGS})
......@@ -22,5 +22,5 @@ target_link_libraries(kritafilterslistdynamicprogram kritadynamicbrush)
set_target_properties(kritafilterslistdynamicprogram PROPERTIES VERSION ${GENERIC_KOFFICE_LIB_VERSION} SOVERSION ${GENERIC_KOFFICE_LIB_SOVERSION} )
install(TARGETS kritafilterslistdynamicprogram DESTINATION ${LIB_INSTALL_DIR})
install(TARGETS kritafilterslistdynamicprogram ${INSTALL_TARGETS_DEFAULT_ARGS})
......@@ -38,5 +38,5 @@ target_link_libraries(kritalibpaintop kritaui)
set_target_properties(kritalibpaintop PROPERTIES VERSION ${GENERIC_KOFFICE_LIB_VERSION} SOVERSION ${GENERIC_KOFFICE_LIB_SOVERSION} )
install(TARGETS kritalibpaintop DESTINATION ${LIB_INSTALL_DIR})
install(TARGETS kritalibpaintop ${INSTALL_TARGETS_DEFAULT_ARGS})
......@@ -22,4 +22,4 @@ kde4_add_library(krossmodulekrita SHARED ${krossmodulekrita_LIB_SRCS})
##add_definitions(${KDE4_ENABLE_EXCEPTIONS})
target_link_libraries(krossmodulekrita kokross kritaui)
set_target_properties(krossmodulekrita PROPERTIES VERSION ${GENERIC_KOFFICE_LIB_VERSION} SOVERSION ${GENERIC_KOFFICE_LIB_SOVERSION} )
install(TARGETS krossmodulekrita DESTINATION ${LIB_INSTALL_DIR})
install(TARGETS krossmodulekrita ${INSTALL_TARGETS_DEFAULT_ARGS})
......@@ -189,7 +189,7 @@ set_target_properties(kritaui
PROPERTIES VERSION ${GENERIC_KOFFICE_LIB_VERSION} SOVERSION ${GENERIC_KOFFICE_LIB_SOVERSION}
${KDE4_DISABLE_PROPERTY_}LINK_INTERFACE_LIBRARIES "kritaimage${GL_INTERFACE_LIBRARIES}"
)
install(TARGETS kritaui DESTINATION ${LIB_INSTALL_DIR})
install(TARGETS kritaui ${INSTALL_TARGETS_DEFAULT_ARGS})
########### install files ###############
......
......@@ -21,7 +21,7 @@ target_link_libraries(
)
set_target_properties(koffice_graya_u16 PROPERTIES VERSION ${GENERIC_KOFFICE_LIB_VERSION} SOVERSION ${GENERIC_KOFFICE_LIB_SOVERSION} )
install(TARGETS koffice_graya_u16 DESTINATION ${LIB_INSTALL_DIR})
install(TARGETS koffice_graya_u16 ${INSTALL_TARGETS_DEFAULT_ARGS})
########### next target ###############
......
......@@ -23,7 +23,7 @@ target_link_libraries(
)
set_target_properties(kofficegrayau8colorspace PROPERTIES VERSION ${GENERIC_KOFFICE_LIB_VERSION} SOVERSION ${GENERIC_KOFFICE_LIB_SOVERSION} )
install(TARGETS kofficegrayau8colorspace DESTINATION ${LIB_INSTALL_DIR})
install(TARGETS kofficegrayau8colorspace ${INSTALL_TARGETS_DEFAULT_ARGS})
########### next target ###############
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment