kdevelop configure problem
Andreas Pakulat
apaku at gmx.de
Sun Jul 8 21:20:07 CEST 2007
On 08.07.07 20:51:13, Ralf Habacker wrote:
> BTW: I need the appended patch to be able to use kdevplatform in kdevelop.
> 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})
I already fixed this in a different way.
> ===================================================================
> --- 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)
I don't see how that would make a difference, except if kdelibs needs
zlib (which would indicate its broken because it doesn't require it).
And actually I don't think ZLIB is needed in kdevplatform, thats
probably cruft from the move from kdevelop.
Andreas
--
Your lover will never wish to leave you.
More information about the Kde-windows
mailing list