From d2115ae9383bd01b00103f1ab743f4ffdc24e674 Mon Sep 17 00:00:00 2001 From: Ben Cooksley Date: Mon, 7 Oct 2013 23:48:05 +1300 Subject: [PATCH] Set an include path with the KF5::plasma target. REVIEW: 113139 --- src/plasma/CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/plasma/CMakeLists.txt b/src/plasma/CMakeLists.txt index b21fd7bc7..337eaf084 100644 --- a/src/plasma/CMakeLists.txt +++ b/src/plasma/CMakeLists.txt @@ -169,6 +169,7 @@ if(DL_LIBRARY) endif(DL_LIBRARY) target_link_libraries(plasma LINK_INTERFACE_LIBRARIES Qt5::Widgets KF5::KConfigWidgets) +target_include_directories(plasma INTERFACE "$" ) #do NOT use GENERIC versioning -- the plasma team will take care of versioning set_target_properties(plasma PROPERTIES @@ -176,8 +177,6 @@ set_target_properties(plasma PROPERTIES SOVERSION 5 ) -install(TARGETS plasma EXPORT kdelibsLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS}) - ########### install files ############### generate_export_header(plasma) @@ -214,7 +213,7 @@ install(FILES install(DIRECTORY includes/Plasma - DESTINATION ${INCLUDE_INSTALL_DIR}/KDE/ COMPONENT Devel) + DESTINATION ${INCLUDE_INSTALL_DIR} COMPONENT Devel) install(FILES