KDE/kdelibs/kio

Peter Kümmel syntheticpp at gmx.net
Sun Feb 12 18:43:01 CET 2006


Christian Ehrlicher wrote:
> Peter Kümmel schrieb:
>> SVN commit 508767 by kuemmel:
>>
>> on windows zlib.h is not in the standard include path
>>
>>  M  +4 -0      CMakeLists.txt  
>>
>>
>> --- trunk/KDE/kdelibs/kio/CMakeLists.txt #508766:508767
>> @@ -7,6 +7,10 @@
>>     include_directories(${OPENSSL_INCLUDE_DIR})
>>  endif(HAVE_SSL)
>>  
>> +if(ZLIB_FOUND)
>> +   include_directories(${ZLIB_INCLUDE_DIR})
>> +endif(ZLIB_FOUND)
>> +
>>  include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}
>>  ${CMAKE_CURRENT_SOURCE_DIR}/bookmarks
>>  ${CMAKE_SOURCE_DIR}/kwallet/client
>>
> why do we need to add this?
> I mean - can't we simply say the we need ZLIB and cmake adds all things
> automagically?
> 
> bksys can do this ;-P
> 
> Christian
> 

On windows we need to add it somewhere, and I've done it
as well as it is done for the openssl or pcre (kjs) case.

Peter


More information about the Kde-buildsystem mailing list