[kdelibs/frameworks] /: Find KParts in KDELibs4Config.cmake

Stephen Kelly steveire at gmail.com
Thu Sep 26 14:23:01 UTC 2013


Git commit aac41bc93595a0f341886692fba48717a1a9e2a9 by Stephen Kelly.
Committed on 26/09/2013 at 14:22.
Pushed by skelly into branch 'frameworks'.

Find KParts in KDELibs4Config.cmake

CCMAIL: kde-frameworks-devel at kde.org

M  +3    -1    KDELibs4Config.cmake

http://commits.kde.org/kdelibs/aac41bc93595a0f341886692fba48717a1a9e2a9

diff --git a/KDELibs4Config.cmake b/KDELibs4Config.cmake
index 8e8ef58..562fa3a 100644
--- a/KDELibs4Config.cmake
+++ b/KDELibs4Config.cmake
@@ -465,7 +465,9 @@ endif()
 if(NOT TARGET KF5::KInterProcessWindowing)
    include(${KDE4_LIB_INSTALL_DIR}/cmake/KInterProcessWindowing/KInterProcessWindowingTargets.cmake)
 endif()
-
+if(NOT TARGET KF5::KParts)
+   include(${KDE4_LIB_INSTALL_DIR}/cmake/KParts/KPartsTargets.cmake)
+endif()
 # This file contains the exported library target from kdelibs (new with cmake 2.6.x), e.g.
 # the library target "kdeui" is exported as "KDE4__kdeui". The "KDE4__" is used as
 # "namespace" to separate the imported targets from "normal" targets, it is stored in


More information about the Kde-frameworks-devel mailing list