add qjson includes at top-level

It's needed by plugins as well, not just by the core.

Reviewed-by: Aleix
This commit is contained in:
Sebastian Kügler 2014-09-07 14:12:00 +02:00
parent 79edcf5685
commit 506bd2a890
2 changed files with 1 additions and 2 deletions

View file

@ -19,7 +19,7 @@ include(ECMInstallIcons)
include(FeatureSummary)
include(GenerateExportHeader)
include_directories(${CMAKE_CURRENT_BINARY_DIR})
include_directories(${CMAKE_CURRENT_BINARY_DIR} ${QJSON_INCLUDE_DIR})
add_subdirectory(core)
add_subdirectory(kcm)

View file

@ -8,7 +8,6 @@ set(KDECONNECT_VERSION_PATCH 1)
set(KDECONNECT_VERSION "${KDECONNECT_VERSION_MAJOR}.${KDECONNECT_VERSION_MINOR}.${KDECONNECT_VERSION_PATCH}")
include_directories(
${QJSON_INCLUDE_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${QCA2_INCLUDE_DIR}
)