aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Cooksley <bcooksley@kde.org>2008-12-02 23:35:52 +0000
committerBen Cooksley <bcooksley@kde.org>2008-12-02 23:35:52 +0000
commit8d1fd716cfc4223028f256dd0b53f3cd1395d6a5 (patch)
tree6b427df6020c84efbac75ee255b3db3326e12255
parentc379d4c4e0655fac2dadd4be57e2e5cd23d40572 (diff)
downloadextra-cmake-modules-8d1fd716cfc4223028f256dd0b53f3cd1395d6a5.tar.gz
extra-cmake-modules-8d1fd716cfc4223028f256dd0b53f3cd1395d6a5.tar.bz2
Fix finding of pimlibs to search in KDE4_INCLUDE_DIR first. This will allow those who do not install trunk to /usr to build again
CCMAIL: kdepim@kde.org CCMAIL: winter@kde.org svn path=/trunk/KDE/kdelibs/; revision=891837
-rw-r--r--modules/FindKdepimLibs.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/FindKdepimLibs.cmake b/modules/FindKdepimLibs.cmake
index 8b449d93..d0ae4522 100644
--- a/modules/FindKdepimLibs.cmake
+++ b/modules/FindKdepimLibs.cmake
@@ -40,8 +40,8 @@ if (WIN32)
endif (KDEPIMLIBS_DIR)
endif (WIN32)
-find_path( KDEPIMLIBS_INCLUDE_DIR kcal/kcal_export.h
- ${KDE4_INCLUDE_DIR}
+find_path( KDEPIMLIBS_INCLUDE_DIR NAMES kcal/kcal_export.h
+ HINTS ${KDE4_INCLUDE_DIR}
)
macro(_KDEPIMLibs_Set_Lib_Vars _prefix _lib)