NetBSD and cmake
Tanner Lovelace
clubjuggler at gmail.com
Mon Mar 27 18:30:35 CEST 2006
On 3/26/06, William A. Hoffman <billlist at nycap.rr.com> wrote:
> At 04:27 PM 3/26/2006, David Faure wrote:
> >Ah. In that case, maybe you could add /sw/include and /sw/lib as well,
> >for Mac OS X (fink)? For now I passed those paths on the cmake command line
> >when compiling on the mac, but AFAIK those are standard paths.
>
> For Darwin, I already have this:
>
> INCLUDE(Platform/UnixPaths)
> SET(CMAKE_SYSTEM_INCLUDE_PATH ${CMAKE_SYSTEM_INCLUDE_PATH} /sw/include)
> SET(CMAKE_SYSTEM_LIBRARY_PATH ${CMAKE_SYSTEM_LIBRARY_PATH} /sw/lib)
>
> Can you check your Platform/Darwin.cmake file and verify that you have the
> same thing and it is not working for you?
For those of us not using fink, could you please add
/opt/local/include and /opt/local/lib
in addition to the fink paths. Those are paths for darwinports.
But, this brings up another issue. Since in OS X required packages
can be provided
in at least 2 different packaging formats (fink and darwinports), what
happens if both
fink and darwinports are installed on the compiling machine. I assume
it will pick up
whichever one is listed first in Platform/Darwin.cmake, right? Can
this be overridden
by specifying the correct directory on the command line or in the environment?
Cheers,
Tanner
--
Tanner Lovelace
clubjuggler at gmail dot com
http://wtl.wayfarer.org/
(fieldless) In fess two roundels in pale, a billet fesswise and an
increscent, all sable.
More information about the Kde-buildsystem
mailing list