kdevelop configure problem
Ralf Habacker
ralf.habacker at freenet.de
Sun Jul 8 21:50:15 CEST 2007
Andreas Pakulat schrieb:
> 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.
>
Which does not work on win32
-- You can set KDEVPLATFORM_INCLUDE_DIR and KDEVPLATFORM_LIBRARY_DIR to
help cmake find KDevPlatform
CMake Error: Couldn't find all platform modules.
Append is a minor patch to fix it on win32.
>> ===================================================================
>> --- 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).
>
the kde4 package adds some required basis pathes on win32 located in
the KDEWIN and KDEWIN32 package.
Another way would be to use
find_package(KDEWIN REQUIRED)
find_package(ZLIB REQUIRED)
find_package(KDE4 REQUIRED)
And actually I don't think ZLIB is needed in kdevplatform, thats
> probably cruft from the move from kdevelop.
>
okay, then this is obsolate.
Ralf
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: kdevplatform-cmake.patch
Url: http://mail.kde.org/pipermail/kde-windows/attachments/20070708/abce0069/attachment.ksh
More information about the Kde-windows
mailing list