Skip to content

FindBoost: Add option to prevent finding DEBUG/RELEASE Boost-libs

Deniz Bahadir requested to merge dbahadir/cmake:patch-1 into master

With the use of options Boost_USE_DEBUG_LIBS and Boost_USE_RELEASE_LIBS it is now possible to skip searching for either DEBUG or RELEASE Boost libraries.

This is useful if Boost is installed on the system in multiple directories but only one of them should be used which only contains the RELEASE libraries. Without this change the DEBUG libraries might be found in the other directory which might not be desired at all.

Topic-rename: FindBoost-limit-configs

Edited by Brad King

Merge request reports