I am trying to figure out what components to Find
in CMakeList.txt for boost
libraries.
I looked at this directory /usr/local/include/boost
. And I randomly pick some of the folders and try to use FIND_PACKAGE
. These following all works well.
FIND_PACKAGE(Boost COMPONENTS thread system log log_setup
signals graph memory_order program_options REQUIRED)
The particular one that I am using is property_tree
. It is not working and produces the following error message:
CMake Error at /Applications/CMake.app/Contents/share/cmake-3.1/Modules/FindBoost.cmake:1182 (message):
Unable to find the requested Boost libraries.
Boost version: 1.55.0
Boost include path: /usr/local/include
Could not find the following static Boost libraries:
boost_property_tree
Could anyone explain how or where I can find the proper library names for boost?