[CMake] find_package ignoring REQUIRED

Russell Wallace russell.wallace at gmail.com
Sat Aug 25 23:51:49 EDT 2012


When I write:

find_package(boost REQUIRED)

cmake comes up with:

-- Could NOT find Boost

but keeps going as though things were okay, whereas the documentation
seems to say the 'required' specification should cause it to halt with
an error message. Same thing happens if I put a component name after
the word 'required'. What am I missing?


More information about the CMake mailing list