diff --git a/CMakeLists.txt b/CMakeLists.txt index 319c76ba11..6270ce182b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -120,7 +120,7 @@ if (X11_Xfixes_FOUND) target_link_libraries(kdeinit_kwin ${X11_Xfixes_LIB}) endif (X11_Xfixes_FOUND) -install(TARGETS kdeinit_kwin DESTINATION ${LIB_INSTALL_DIR} ) +install(TARGETS kdeinit_kwin ${INSTALL_TARGETS_DEFAULT_ARGS} ) target_link_libraries( kwin kdeinit_kwin ) install(TARGETS kwin DESTINATION ${BIN_INSTALL_DIR}) @@ -135,7 +135,7 @@ set( kwinnvidiahack_LIB_SRCS kde4_add_library(kwinnvidiahack SHARED ${kwinnvidiahack_LIB_SRCS}) set_target_properties(kwinnvidiahack PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION} ) -install(TARGETS kwinnvidiahack DESTINATION ${LIB_INSTALL_DIR} ) +install(TARGETS kwinnvidiahack ${INSTALL_TARGETS_DEFAULT_ARGS} ) ########### install files ############### diff --git a/kcmkwin/kwinrules/CMakeLists.txt b/kcmkwin/kwinrules/CMakeLists.txt index ac2d169894..5f474cbf7f 100644 --- a/kcmkwin/kwinrules/CMakeLists.txt +++ b/kcmkwin/kwinrules/CMakeLists.txt @@ -13,7 +13,7 @@ kde4_add_kdeinit_executable( kwin_rules_dialog ${kwin_rules_dialog_KDEINIT_SRCS} target_link_libraries(kdeinit_kwin_rules_dialog ${KDE4_KDEUI_LIBS} ) -install(TARGETS kdeinit_kwin_rules_dialog DESTINATION ${LIB_INSTALL_DIR} ) +install(TARGETS kdeinit_kwin_rules_dialog ${INSTALL_TARGETS_DEFAULT_ARGS} ) target_link_libraries( kwin_rules_dialog kdeinit_kwin_rules_dialog ) install(TARGETS kwin_rules_dialog DESTINATION ${BIN_INSTALL_DIR}) diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index 1d675ee479..e20fd0ff41 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -14,7 +14,7 @@ kde4_add_library(kdecorations SHARED ${kdecorations_LIB_SRCS}) target_link_libraries(kdecorations ${KDE4_KDEUI_LIBS} ${QT_QTGUI_LIBRARY}) set_target_properties(kdecorations PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION} ) -install(TARGETS kdecorations DESTINATION ${LIB_INSTALL_DIR} ) +install(TARGETS kdecorations ${INSTALL_TARGETS_DEFAULT_ARGS} ) ########### install files ############### @@ -37,7 +37,7 @@ set(kwin_EFFECTSLIB_SRCS kde4_add_library(kwineffects SHARED ${kwin_EFFECTSLIB_SRCS}) target_link_libraries(kwineffects ${KDE4_KDEUI_LIBS} ${QT_QTGUI_LIBRARY} ${X11_LIBRARIES}) set_target_properties(kwineffects PROPERTIES VERSION 1.0.0 SOVERSION 1 ) -install(TARGETS kwineffects DESTINATION ${LIB_INSTALL_DIR}) +install(TARGETS kwineffects ${INSTALL_TARGETS_DEFAULT_ARGS}) if(OPENGL_FOUND) target_link_libraries(kwineffects ${OPENGL_gl_LIBRARY})