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

Gerard Beekmans gerard at linuxfromscratch.org
Thu, 04 Mar 2004 18:54:12 -0700


Hi guys,

Got a quick question for you guys.

I'd like cmake to check for a number of header file and libraries when I
run "cmake ." in a project directory. At the moment the compile process
will abort at some point due to missing header files and it'd be nice to
know this up front. Same with library files. Eventually a link error
will come up but I'd like to be told about these dependency issues
before I start the compile process.

Any pointers would be greatly appreciated.

Thanks,

-- 
Gerard Beekmans

/* If Linux doesn't have the solution, you have the wrong problem */