Hi,

find_dependency(Boost COMPONENTS date_time filesystem system)

Looking at the CMakeFindDependencyMacro code the COMPONENTS argument
does not seem to be supported.

Is there a workaround for this situation?
What about using e.g.

set(BOOST_ROOT $ENV{BOOST_ROOT})
find_package(Boost 1.54 REQUIRED COMPONENTS filesystem program_options regex system thread)

I'm using this in a few projects and it reliably detects Boost and the
components on Mac OS X, Linux and Windows.

WkR,
Daniel
--
[kogito](http://kogitoapp.com)  -  nerds available for awesome projects

kogito Anwendungsentwicklung                       bra...@kogitoapp.com
c/o Daniel S. Reichenbach                       phone: +49 221 27096773
Limburger Straße 19                            mobile: +49 160 96311159
50672 Köln, Germany
--

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://public.kitware.com/mailman/listinfo/cmake

Reply via email to