From 23bbfd5d91c811646e7e45af83213151a96eb2fc Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Fri, 8 Feb 2013 11:15:52 +0100 Subject: [PATCH] try to add ${KDE4_INCLUDE_DIR} --- declarativeimports/core/CMakeLists.txt | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/declarativeimports/core/CMakeLists.txt b/declarativeimports/core/CMakeLists.txt index 0b047e77e..ddda20799 100644 --- a/declarativeimports/core/CMakeLists.txt +++ b/declarativeimports/core/CMakeLists.txt @@ -1,5 +1,13 @@ project(corebindings) +INCLUDE_DIRECTORIES( + ${CMAKE_SOURCE_DIR} + ${CMAKE_BINARY_DIR} + ${KDE4_INCLUDES} + ${KDE4_INCLUDE_DIR} + ${KDECLARATIVE_INCLUDE_DIR} +) + set(corebindings_SRCS # declarativeitemcontainer.cpp corebindingsplugin.cpp @@ -16,12 +24,6 @@ set(corebindings_SRCS iconitem.cpp ) -INCLUDE_DIRECTORIES( - ${CMAKE_SOURCE_DIR} - ${CMAKE_BINARY_DIR} - ${KDE4_INCLUDES} - ${KDECLARATIVE_INCLUDE_DIR} -) qt4_automoc(${corebindings_SRCS})