[Cmake] Recommended way to check for header and library availability
Jan Woetzel
jw at mip.informatik.uni-kiel.de
Sat, 06 Mar 2004 18:23:15 +0100
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