NetBSD and cmake
William A. Hoffman
billlist at nycap.rr.com
Mon Mar 27 19:56:53 CEST 2006
At 11:30 AM 3/27/2006, Tanner Lovelace wrote:
>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.
I have added the include one, the lib was already there....
>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?
You can always change the search path with command line or environment variables.
-Bill
More information about the Kde-buildsystem
mailing list