NetBSD and cmake
William A. Hoffman
billlist at nycap.rr.com
Sun Mar 26 20:52:27 CEST 2006
At 11:23 AM 3/26/2006, Hasso Tepper wrote:
>I provoked my coworker to try to compile kdelibs trunk with cmake on
>NetBSD platform and there are our findings.
>
>Jpeg and gif libraries and includes are not found. In NetBSD these are
>installed from pkgsrc package management system, which installs software
>in /usr/pkg. Adding /usr/pkg/include and /usr/pkg/lib into appropriate
>places in cmake/modules/FindGIF.cmake and cmake/modules/FindJPEG.cmake
>files fixes problem.
>
>Btw, because /usr/pkg is common for all systems using pkgsrc (it's not
>NetBSD specific), maybe there is more generic solution possible?
The more general solution is to put the directories in CMake
in Modules/Platform/UnixPaths.cmake. Then all the FIND stuff in
cmake will use them.
If you could try it and make sure it works, I can commit the changes
you make to cmake.
-Bill
More information about the Kde-buildsystem
mailing list