On 30 September 2013 12:00, SF Markus Elfring
<elfr...@users.sourceforge.net> wrote:
> Hello,
>
> I try to use a macro call like "find_package(Boost 1.49 REQUIRED COMPONENTS
> spirit)".

Boost.Spirit is headers-only library, so there is no binary library supplied.

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.

For the Spirit, you just need to check if you have Boost headers available:

find_package(Boost 1.49 REQUIRED)

[1] http://cmake.org/cmake/help/v2.8.11/cmake.html#module:FindBoost

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

Reply via email to