Remove unneeded include_directories

Dirs are either set by link interfasces of targets or due to
CMAKE_INCLUDE_CURRENT_DIR being ON
parent fa5779b9
......@@ -2,15 +2,6 @@
project (kactivitymanagerd-plugin-activitytemplates)
include_directories (
${KACTIVITIES_CURRENT_ROOT_SOURCE_DIR}/src
${CMAKE_BINARY_DIR}/src
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/../..
${CMAKE_CURRENT_BINARY_DIR}
${KConfig_INCLUDE_DIR}
)
set (
activitytemplates_SRCS
TemplatesPlugin.cpp
......
......@@ -4,15 +4,6 @@ project (activitymanager-eventspy)
find_package (KF5KIO ${KF5_MIN_VERSION} CONFIG REQUIRED)
include_directories (
${KACTIVITIES_CURRENT_ROOT_SOURCE_DIR}/src
${CMAKE_BINARY_DIR}/src
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/../..
${CMAKE_CURRENT_BINARY_DIR}
${KConfig_INCLUDE_DIR}
)
set (
evenyspy_SRCS
EventSpy.cpp
......
......@@ -2,15 +2,6 @@
project (activitymanager-globalshortcuts)
include_directories (
${KACTIVITIES_CURRENT_ROOT_SOURCE_DIR}/src
${CMAKE_BINARY_DIR}/src
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/../..
${CMAKE_CURRENT_BINARY_DIR}
${KConfig_INCLUDE_DIR}
)
set (
globalshortcuts_SRCS
GlobalShortcutsPlugin.cpp
......
......@@ -2,15 +2,6 @@
project (kactivitymanagerd-runapplication)
include_directories (
${KACTIVITIES_CURRENT_ROOT_SOURCE_DIR}/src
${CMAKE_BINARY_DIR}/src
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/../..
${CMAKE_CURRENT_BINARY_DIR}
${KConfig_INCLUDE_DIR}
)
set (
runapplication_SRCS
RunApplicationPlugin.cpp
......
......@@ -4,15 +4,6 @@ project (activitymanager-plugin-slc)
# kservice_desktop_to_json (activitymanager-plugin-slc.desktop)
include_directories (
${KACTIVITIES_CURRENT_ROOT_SOURCE_DIR}/src
${CMAKE_BINARY_DIR}/src
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/../..
${CMAKE_CURRENT_BINARY_DIR}
${KConfig_INCLUDE_DIR}
)
set (
slc_SRCS
SlcPlugin.cpp
......
......@@ -31,16 +31,6 @@ qt5_add_dbus_adaptor (
resourcescoringadaptor
)
include_directories (
${KACTIVITIES_CURRENT_ROOT_SOURCE_DIR}/src
${CMAKE_BINARY_DIR}/src
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/../..
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}/../..
${KConfig_INCLUDE_DIR}
)
kcoreaddons_add_plugin(
kactivitymanagerd_plugin_sqlite
JSON kactivitymanagerd-plugin-sqlite.json
......
......@@ -2,15 +2,6 @@
project (kactivitymanagerd-virtualdesktopswitch)
include_directories (
${KACTIVITIES_CURRENT_ROOT_SOURCE_DIR}/src
${CMAKE_BINARY_DIR}/src
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/../..
${CMAKE_CURRENT_BINARY_DIR}
${KConfig_INCLUDE_DIR}
)
set (
virtualdesktopswitch_SRCS
VirtualDesktopSwitchPlugin.cpp
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment