-also disable _KDE4_TARGET_LINK_INTERFACE_LIBRARIES() and use the renamed LINK_INTERFACE_LIBRARIES target property
instead: set_target_properties(foo PROPERTIES ${KDE4_DISABLE_PROPERTY_}LINK_INTERFACE_LIBRARIES "kdeui;kdecore" ) While this doesn't look very nice, it is completely forward and backward compatible (i.e. cmake 2.4 doesn't complain, cmake 2.6 works, both versions work as soon as the reduced link interface is the default (soon), if somebody uses this with kdelibs which don't have that anymore he will get the reduced interface instead of errors, so all should be ok) Alex CCMAIL: mueller@kde.org svn path=/trunk/KDE/kdelibs/; revision=836131
This commit is contained in:
parent
daafe8f8a0
commit
f925d33c9b
@ -100,9 +100,11 @@ if(QT_QTOPENGL_FOUND AND OPENGL_FOUND)
|
||||
target_link_libraries(plasma ${QT_QTOPENGL_LIBRARY} ${OPENGL_gl_LIBRARY})
|
||||
endif(QT_QTOPENGL_FOUND AND OPENGL_FOUND)
|
||||
|
||||
set_target_properties(plasma PROPERTIES VERSION 2.0.0 SOVERSION 2)
|
||||
|
||||
_kde4_target_link_interface_libraries(plasma "${KDE4_KDEUI_LIBS}")
|
||||
set_target_properties(plasma PROPERTIES
|
||||
VERSION 2.0.0
|
||||
SOVERSION 2
|
||||
${KDE4_DISABLE_PROPERTY_}LINK_INTERFACE_LIBRARIES "${KDE4_KDEUI_LIBS}"
|
||||
)
|
||||
|
||||
install(TARGETS plasma ${INSTALL_TARGETS_DEFAULT_ARGS})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user