From 4f670c149b6583fcd26169e07e7698e62546bfe8 Mon Sep 17 00:00:00 2001 From: "Lamarque V. Souza" Date: Mon, 14 May 2012 12:40:02 -0300 Subject: [PATCH] Update all CMakeLists.txt to use KDeclarativeConfig.cmake. rebuild kdelibs from KDE/4.8 branch to install KDeclarativeConfig.cmake. --- declarativeimports/core/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/declarativeimports/core/CMakeLists.txt b/declarativeimports/core/CMakeLists.txt index 3626816a4..49f2914e1 100644 --- a/declarativeimports/core/CMakeLists.txt +++ b/declarativeimports/core/CMakeLists.txt @@ -18,13 +18,15 @@ INCLUDE_DIRECTORIES( ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${KDE4_INCLUDES} + ${KDECLARATIVE_INCLUDE_DIR} ) qt4_automoc(${corebindings_SRCS}) + add_library(corebindingsplugin SHARED ${corebindings_SRCS}) -target_link_libraries(corebindingsplugin ${KDE4_PLASMA_LIBS} ${QT_QTSCRIPT_LIBRARY} ${QT_QTDECLARATIVE_LIBRARY} kdeclarative) +target_link_libraries(corebindingsplugin ${KDE4_PLASMA_LIBS} ${QT_QTSCRIPT_LIBRARY} ${QT_QTDECLARATIVE_LIBRARY} ${KDECLARATIVE_LIBRARIES}) install(TARGETS corebindingsplugin DESTINATION ${IMPORTS_INSTALL_DIR}/org/kde/plasma/core) install(FILES qmldir DESTINATION ${IMPORTS_INSTALL_DIR}/org/kde/plasma/core)