kdevelop configure problem

Ralf Habacker ralf.habacker at freenet.de
Mon Jul 9 07:58:52 CEST 2007


Andreas Pakulat schrieb:
> On 08.07.07 21:50:15, Ralf Habacker wrote:
>   
>> Andreas Pakulat schrieb:
>>     
>>> On 08.07.07 20:51:13, Ralf Habacker wrote:
>>>       
>>>> ===================================================================
>>>> --- 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.
>>     
>
> You mean to find zlib or what? If its for finding zlib, then the
> FindZLIB.cmake in CMake 2.4.6 is buggy and you should file a bugreport.
>
>   
>> Another way would be to use
>>
>> find_package(KDEWIN REQUIRED)
>> find_package(ZLIB REQUIRED)
>> find_package(KDE4 REQUIRED)
>>     
>
> How would that work in systems that don't have KDEWIN???
>   
findKDEWIN.cmake is installed with kdelibs and could be used by all
other kde packages without any additional settings. findKDEWIN.cmake is
a nofunc on non win32 systems.


Ralf




More information about the Kde-windows mailing list