Index: cmake/modules/FindKDevPlatform.cmake
===================================================================
--- cmake/modules/FindKDevPlatform.cmake	(revision 685357)
+++ cmake/modules/FindKDevPlatform.cmake	(working copy)
@@ -36,13 +36,13 @@
 endif(WIN32)
 
 if( NOT KDEVPLATFORM_INCLUDE_DIR )
-    find_path( _platformIncDir kdevplatform/interfaces/iplugin.h
+    find_path( _platformIncDir interfaces/iplugin.h
         PATHS
-        ${CMAKE_INSTALL_PREFIX}/include
+        ${CMAKE_INSTALL_PREFIX}/include/kdevplatform/
         ${_KDEVPLATFORM_INCLUDE_DIR}
 	${KDE4_INCLUDE_DIR}/kdevplatform
     )
-    set(KDEVPLATFORM_INCLUDE_DIR ${_platformIncDir}/kdevplatform)
+    set(KDEVPLATFORM_INCLUDE_DIR ${_platformIncDir})
 endif( NOT KDEVPLATFORM_INCLUDE_DIR )
 set(KDEVPLATFORM_INCLUDE_DIR ${KDEVPLATFORM_INCLUDE_DIR} CACHE PATH "kdevplatform include directory containing the various platform modules")
 
Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt	(revision 685357)
+++ CMakeLists.txt	(working copy)
@@ -2,8 +2,8 @@
 
 set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules)
 
+find_package(KDE4 REQUIRED)
 find_package(ZLIB REQUIRED)
-find_package(KDE4 REQUIRED)
 #find_package(BerkeleyDB)
 #find_package(TDB)
 include (KDE4Defaults)
