Report question

Question: How to check header files and library functions in CMake like it is done in Autotools?