diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index 6f0ad37ef6..1ab7e7b412 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -16,11 +16,10 @@ target_link_libraries(kdecorations ${KDE4_KDEUI_LIBS}) set_target_properties(kdecorations PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION} + ${KDE4_DISABLE_PROPERTY_}LINK_INTERFACE_LIBRARIES "${KDE4_KDEUI_LIBS};" ) install(TARGETS kdecorations ${INSTALL_TARGETS_DEFAULT_ARGS} ) -_kde4_target_link_interface_libraries(kdecorations "${KDE4_KDEUI_LIBS};") - ########### install files ############### install( FILES @@ -48,12 +47,13 @@ install(TARGETS kwineffects ${INSTALL_TARGETS_DEFAULT_ARGS}) if(OPENGL_FOUND) target_link_libraries(kwineffects ${OPENGL_gl_LIBRARY}) + set_target_properties(kwineffects PROPERTIES + ${KDE4_DISABLE_PROPERTY_}LINK_INTERFACE_LIBRARIES "${OPENGL_gl_LIBRARY};") # -ldl used by OpenGL code find_library(DL_LIBRARY dl) if (DL_LIBRARY) target_link_libraries(kwineffects ${DL_LIBRARY}) endif(DL_LIBRARY) - _kde4_target_link_interface_libraries(kwineffects "${OPENGL_gl_LIBRARY};") endif(OPENGL_FOUND) if (X11_Xrender_FOUND) target_link_libraries(kwineffects ${X11_Xrender_LIB})