aboutsummaryrefslogtreecommitdiff
path: root/modules/FindKdepimLibs.cmake
diff options
context:
space:
mode:
authorLaurent Montel <montel@kde.org>2006-07-03 09:57:36 +0000
committerLaurent Montel <montel@kde.org>2006-07-03 09:57:36 +0000
commitfb6cef34e4f2732dd7a5ec6876e071b91ab02203 (patch)
tree0da948825ee4c7182ad78df55223f2ac4f9f80b7 /modules/FindKdepimLibs.cmake
parent4fa74d074cb501931f954d02d5bbac1deafdc905 (diff)
downloadextra-cmake-modules-fb6cef34e4f2732dd7a5ec6876e071b91ab02203.tar.gz
extra-cmake-modules-fb6cef34e4f2732dd7a5ec6876e071b91ab02203.tar.bz2
Copy it into kdelibs because it will require by several
module (kdebase/kdepim now) When we will create new snapshot I will add check into kdebase (kdebase requires it for kabc) svn path=/trunk/KDE/kdelibs/; revision=557445
Diffstat (limited to 'modules/FindKdepimLibs.cmake')
-rw-r--r--modules/FindKdepimLibs.cmake9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/FindKdepimLibs.cmake b/modules/FindKdepimLibs.cmake
new file mode 100644
index 00000000..514845c0
--- /dev/null
+++ b/modules/FindKdepimLibs.cmake
@@ -0,0 +1,9 @@
+# Find if we installed kdepimlibs before to compile it
+
+FIND_PATH( KDEPIMLIBS_INCLUDE_DIR emailfunctions/email.h
+ ${KDE4_INCLUDE_DIR}
+)
+
+if( NOT KDEPIMLIBS_INCLUDE_DIR )
+ message( FATAL_ERROR "You didn't compile kdepimlibs before to compile it. Please install it" )
+endif(NOT KDEPIMLIBS_INCLUDE_DIR )