[Cmake] Recommended way to check for header and library availability

William A. Hoffman billlist at nycap.rr.com
Mon, 08 Mar 2004 10:23:03 -0500


SEND_ERROR will stop cmake from further processing and keep it from
generation makefiles.

-Bill


At 12:23 PM 3/6/2004, Jan Woetzel wrote:


>Gerard Beekmans wrote:
>
>>Is there a way to tell cmake to abort processing when a file is not
>>found? After the FIND_LIBRARY command I could use an 'IF' to see if the
>>lib was found. In case it's not, how do I notify the user of this?
>You notify with:
>MESSAGE(SEND_ERROR "blah not found.... ")
>
>But I think it doesn't stop cmake.
>
>Jan.
>
>-- 
>
> Jan Woetzel
> University of Kiel/Germany
>
>
>
>_______________________________________________
>Cmake mailing list
>Cmake at www.cmake.org
>http://www.cmake.org/mailman/listinfo/cmake