From c985853288d5f2527880bf7207a282485170944f Mon Sep 17 00:00:00 2001 From: samelian Date: Thu, 28 Oct 2010 00:03:55 +0000 Subject: [PATCH] [kdelibs] install cmake import modules (for imported targets support) git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1190536 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- CMakeLists.txt | 7 ++++++- dcop/CMakeLists.txt | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 79a8d9a5c..f96c4d2be 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,7 +14,7 @@ cmake_minimum_required( VERSION 2.6 ) ##### general package setup ##################### -project( kdebase ) +project( kdelibs ) set( PACKAGE kdelibs ) set( VERSION "3.5.13" ) @@ -736,3 +736,8 @@ add_subdirectory( licenses ) add_subdirectory( dnssd ) add_subdirectory( pics ) add_subdirectory( mimetypes ) + + +##### install import cmake modules ############### + +install( EXPORT ${CMAKE_PROJECT_NAME} DESTINATION ${CMAKE_INSTALL_DIR} ) diff --git a/dcop/CMakeLists.txt b/dcop/CMakeLists.txt index 7c53395a9..56c3d3911 100644 --- a/dcop/CMakeLists.txt +++ b/dcop/CMakeLists.txt @@ -70,7 +70,7 @@ set( ${target}_SRCS tde_add_kdeinit_executable( ${target} AUTOMOC SOURCES ${${target}_SRCS} - LINK DCOP-shared + LINK kICE-static DCOP-shared )