On Friday 28 September 2007 16:36:00 Mathias Froehlich wrote:
> > Mathias Froehlich wrote:
> > to time.   I am not sure that FIND_LIBRARY should do a try_compile, but
> > maybe it should....
>
> Probably yes.
> IMO, better test what you need rather than test something that is more or
> less closely related but not the same than what you need.

So it all depends on what you need. If you need FIND_LIBRARY to find 
compilable libaries ok, I don't, hence I would prefer something simpler and 
faster.

On my projects I consider it a user error if the library is found by file 
location and doesn't work on compilation (plus I can try-compile if that is 
needed, currently CMake allows you to do both, making FIND_LIBRARY 
try-compile always would remove one of the options).

-- 
Mihai RUSU                                      Email: [EMAIL PROTECTED]
                        "Linux is obsolete" -- AST
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to