try to use ${KDE4_KDECORE_LIBS} in libplasma
This commit is contained in:
parent
51cf41c413
commit
b4bf8da259
@ -194,7 +194,7 @@ if(DL_LIBRARY)
|
||||
target_link_libraries(plasma ${DL_LIBRARY})
|
||||
endif(DL_LIBRARY)
|
||||
|
||||
target_link_libraries(plasma LINK_INTERFACE_LIBRARIES kdecore Qt5::Widgets)
|
||||
target_link_libraries(plasma LINK_INTERFACE_LIBRARIES ${KDE4_KDECORE_LIBS} Qt5::Widgets)
|
||||
|
||||
#do NOT use GENERIC versioning -- the plasma team will take care of versioning
|
||||
set_target_properties(plasma PROPERTIES
|
||||
|
@ -20,6 +20,7 @@ find_package(Qt5Transitional REQUIRED Core)
|
||||
find_package(Qt5Qml REQUIRED)
|
||||
find_package(Qt5Quick REQUIRED)
|
||||
|
||||
|
||||
# The Qt5Widgets_INCLUDES also includes the include directories for
|
||||
# dependencies QtCore and QtGui
|
||||
include_directories(${Qt5Widgets_DEFINITIONS} ${Qt5Quick_DEFINITIONS} ${QT_INCLUDES} ${KDE4_INCLUDES})
|
||||
@ -43,7 +44,6 @@ target_link_libraries(testplasma2
|
||||
${Qt5Quick_LIBRARIES}
|
||||
${Qt5Qml_LIBRARIES}
|
||||
${KDE4_KDECORE_LIBS}
|
||||
kdecore
|
||||
plasma
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user