summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Giboudeaux <[email protected]>2015-09-14 20:32:59 +0200
committerChristophe Giboudeaux <[email protected]>2015-09-14 20:32:59 +0200
commitaf4d378e1f6ea848a5e8560eab531486116cda85 (patch)
tree5269163e9ecc165ca9afadb8a7d145ea76b46c1a
parente358c84449ab4d3c96744a69bd57b57813a3fad6 (diff)
-Werror=missing-include-dirs
-rw-r--r--calendarsupport/src/CMakeLists.txt2
-rw-r--r--korganizer/tests/CMakeLists.txt1
-rw-r--r--noteshared/autotests/CMakeLists.txt4
-rw-r--r--pimsettingexporter/console/CMakeLists.txt1
4 files changed, 1 insertions, 7 deletions
diff --git a/calendarsupport/src/CMakeLists.txt b/calendarsupport/src/CMakeLists.txt
index 7558c79..0b09479 100644
--- a/calendarsupport/src/CMakeLists.txt
+++ b/calendarsupport/src/CMakeLists.txt
@@ -51,7 +51,7 @@ generate_export_header(KF5CalendarSupport BASE_NAME calendarsupport)
add_library(KF5::CalendarSupport ALIAS KF5CalendarSupport)
target_include_directories(KF5CalendarSupport INTERFACE "$<INSTALL_INTERFACE:${KDE_INSTALL_INCLUDEDIR_KF5}/CalendarSupport/;${KDE_INSTALL_INCLUDEDIR_KF5}/calendarsupport>")
-target_include_directories(KF5CalendarSupport PUBLIC "$<BUILD_INTERFACE:${CalendarSupport_SOURCE_DIR}/src;${CalendarSupport_BINARY_DIR}/src;${Boost_INCLUDE_DIRS}>")
+target_include_directories(KF5CalendarSupport PUBLIC "$<BUILD_INTERFACE:${calendarsupport_SOURCE_DIR}/src;${calendarsupport_BINARY_DIR}/src;${Boost_INCLUDE_DIRS}>")
target_link_libraries(
KF5CalendarSupport
diff --git a/korganizer/tests/CMakeLists.txt b/korganizer/tests/CMakeLists.txt
index fd07f76..08da165 100644
--- a/korganizer/tests/CMakeLists.txt
+++ b/korganizer/tests/CMakeLists.txt
@@ -3,7 +3,6 @@ set(EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR})
include_directories(
${CMAKE_SOURCE_DIR}/korganizer
${CMAKE_BINARY_DIR}/korganizer
- ${CMAKE_SOURCE_DIR}/calendarviews
${CMAKE_SOURCE_DIR}/korganizer/interfaces
)
diff --git a/noteshared/autotests/CMakeLists.txt b/noteshared/autotests/CMakeLists.txt
index 9e02dfd..4fc342b 100644
--- a/noteshared/autotests/CMakeLists.txt
+++ b/noteshared/autotests/CMakeLists.txt
@@ -1,7 +1,3 @@
-include_directories(
- ${CMAKE_SOURCE_DIR}/KF5::NoteShared/
-)
-
add_executable(noteeditorutilstest noteeditorutilstest.cpp )
add_test(noteeditorutilstest noteeditorutilstest)
ecm_mark_as_test(noteeditorutilstest)
diff --git a/pimsettingexporter/console/CMakeLists.txt b/pimsettingexporter/console/CMakeLists.txt
index 5f312bf..48d2ff4 100644
--- a/pimsettingexporter/console/CMakeLists.txt
+++ b/pimsettingexporter/console/CMakeLists.txt
@@ -1,6 +1,5 @@
include_directories(${AKONADI_INCLUDE_DIR}
- ${CMAKE_SOURCE_DIR}/KF5::MailCommon
${CMAKE_SOURCE_DIR}/pimcommon
${CMAKE_SOURCE_DIR}/messagecomposer/
${CMAKE_SOURCE_DIR}/pimsettingexporter/core/