Dear all,
I'm trying to set up an ExternalProject. Typically, the main project as
well as the ExternalProject are depending/using a same third party
library (e.g.: boost) and I would like to guarantee that the same
version of it of used on both sides.
What's the best solution:
* Use two find_package (one in each project) using the same BOOST_ROOT
(how to guarantee this ?)
* Retrieve the BOOST_INCLUDE_DIR/BOOST_LIBRARIES from the cache of the
externalproject (how to do it ? Is this already known at configure step
of main project ? )
* Something else...
Thank you for your help,
Olivier
--
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