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