Re: [CMake] Mixing optional and required libraries with find_package

2010-08-18 Thread Michael Hertling
On 08/09/2010 02:55 PM, storri wrote: I don't think it is possible to find both required and optional libraries with the same find_package command. Is that true? At http://www.mail-archive.com/cmake@cmake.org/msg28536.html, you will find some considerations w.r.t. requesting required and

[CMake] Mixing optional and required libraries with find_package

2010-08-09 Thread storri
I don't think it is possible to find both required and optional libraries with the same find_package command. Is that true? I have a installation of Boost which has a proposed library added into it called Boost.Log ('log' for short). I require the boost_program_options library but optionally can