On 29/10/2018 13:49, Osman Zakir wrote:
How do I specify the path to the installations of third-party libraries to CMake?  Both GUI and command line.  I want to specify the path to the Boost libraries.  I'd also like to know if I just need to specify the path to the Boost Root or if I also need to specify the path to the directory where the compiled binaries are.  Or both.

Use -DCMAKE_PREFIX_PATH:PATH=/path/to/boost:…

The root directory is sufficient; the other paths will all be found relative to this location.
--

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:
https://cmake.org/mailman/listinfo/cmake

Reply via email to