How to determine the Boost library names for CMake

后端 未结 2 1288
南旧
南旧 2020-12-28 15:25

I am trying to figure out what components to Find in CMakeList.txt for boost libraries.

I looked at this directory /usr/local/include/

2条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-28 15:39

    If boost library is compiled, then component name is basically lowercase name of library without prefixes and suffixes (for example for boost_system-vc141-mt-x64-1_66.lib it would be 'system')

    Also see here: https://cmake.org/cmake/help/v3.10/module/FindBoost.html

提交回复
热议问题