[CMake] MSYS FIND_LIBRARY problem
Brandon J. Van Every
bvanevery at gmail.com
Wed Nov 30 03:02:29 EST 2005
William A. Hoffman wrote:
>At 09:45 PM 11/29/2005, Brandon J. Van Every wrote:
>
>
>
>
>>FIND_PATH(CURSES_INCLUDE_PATH
>>curses.h
>>/usr/local/include
>>/usr/include
>>D:/app/msys/1.0/local/include
>>)
>>
>>which is a very non-MSYS way to do things. What gives? Also, the check for curses is silent. i.e. I don't get a "-- Checking for blah blah blah" message, nor any verification of success, only an error message if the check fails.
>>
>>
>
>I assume you are using a microsoft built cmake to configure the build?
>If so, there is no way for it to understand the mounts and / rooted paths used
>by msys. This is basically, a bootstrapping problem. Can you get it to build?
>After it is built, can it then find / based paths? I would assume for that to work
>you would have to link to some sort of msys library, and not to a native microsoft libc.
>That is the main reason we have a cygwin cmake. The cygwin cmake know about cygwin paths
>and mount points. I would assume that the msys cmake would be able to do the same type of thing.
>
>
Hrm. Well, compiling a second time doesn't solve the problem. I guess
I'll have to investigate the MSYS theory of operation, and also the
CMake cygwin build. I will wager, IF(UNIX) is problematic for MSYS
because it is both a Windows system and Unix-like.
Cheers,
Brandon Van Every
More information about the CMake
mailing list