On 30 September 2013 13:58, SF Markus Elfring <elfr...@users.sourceforge.net> wrote: > >> It might be not obvious from the manual [1], but COMPONENTS is dedicated >> to request lookup for the Boost libraries which are built as binary >> components. > > Can this documentation be improved?
I'm sure it can, I presume patches for docs should be accepted. >> [1] http://cmake.org/cmake/help/v2.8.11/cmake.html#module:FindBoost > > Should this interface know when an error message is unnecessary in my use > case? The error in your original case was necessary, because specifying COMPONENTS spirit leads to lookup for non-existent binary library. Perhaps, all headers-only libraries could be handled by the FindBoost module and then reported by CMake: "Spirit is headers-only, shall not be specified with COMPONENTS" Best regards, -- Mateusz Loskot, http://mateusz.loskot.net "Participation in this whole process is a form of torture" ~~ Szalony -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake