prevent directories from search

Ralf Habacker ralf.habacker at freenet.de
Fri Feb 10 09:26:09 CET 2006


Hi all,

I've encountered a problem with cmake. bzip2 is an optional library and 
I don't like to use it.
Because libbz2.dll was installed on my system from another application 
it was located into a system directory and it was detected. How to 
prevent this ?



C:\Daten\kde4\kdelibs>cmake -G "MinGW Makefiles" 
-DCMAKE_INCLUDE_PATH:STRING=c:/_KDE4/include 
-DCMAKE_LIBRARY_PATH:STRING=c:/_KDE4/lib
-- This is a SVN repository
-- Using Buildname: Win32-mingw32-make
C:/Qt/4.1.0/lib ---
-- Found Qt-Version 4.1.0
-- Building kdelibs...
-- Found KDE4 include dir: C:/Daten/kde4/kdelibs
-- Found KDE4 library dir: C:/Daten/kde4/kdelibs/bin
-- Found KDE4 dcopidl preprocessor: 
call;C:/Daten/kde4/kdelibs/dcop/dcopidlng/dcopidl.bat
-- Found KDE4 dcopidl2cpp preprocessor: 
C:/Daten/kde4/kdelibs/bin/./dcopidl2cpp
-- Found KDE4 kconfig_compiler preprocessor: 
C:/Daten/kde4/kdelibs/bin/./kconfig_compiler
-- Looking for BZ2_bzCompressInit in C:/WINDOWS/SYSTEM32/LIBBZ2.DLL
-- Looking for BZ2_bzCompressInit in C:/WINDOWS/SYSTEM32/LIBBZ2.DLL - 
not found
-- Found BZip2: C:/WINDOWS/SYSTEM32/LIBBZ2.DLL
-- Found OpenSSL: C:/WINDOWS/SYSTEM32/ssleay32.dll
-- Found PCRE: c:/_KDE4/lib/libpcre.dll.a;c:/_KDE4/lib/libpcreposix.dll.a
-- ******** kde-config renamed to kdeconfig for nmake, remove ASAP, it's 
already fixed in cmake cvs
-- Found LibXml2: c:/_KDE4/lib/libxml2.dll.a
-- Found LibXslt: c:/_KDE4/lib/libxslt.dll.a
-- skipped kab2kabc, two moc files with the same name
-- Found GIF: c:/_KDE4/lib/libgif.dll.a
-- C:/Daten/kde4/kdelibs/khtml
-- C:/Daten/kde4/kdelibs/interfaces/kmediaplayer: skipped subdir 
$(kfileaudiopreview_subdir)
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Daten/kde4/kdelibs


Ralf



More information about the Kde-buildsystem mailing list