On Tue, 17 Dec 2019 at 18:43, Osman Zakir <osmanzaki...@hotmail.com> wrote: > > I tried passing -DBoost_COMPILER and -DBoost_DEBUG
That is incorrect! The options must read -DBoost_DEBUG=ON and -DBoost_COMPILER=-vc141 or vc142, depending on what b2.exe generated in names for your MSVC version. > but it seems it's only looking for up to Boost 1.71.0; the test versions go > up to there only. > Should I edit the FindBoost.cmake file to have it look for version 1.72.0 as > well? If you have read/searched the FindBoost docs page https://cmake.org/cmake/help/latest/module/FindBoost.html?highlight=version you would have learned that you can specify -DBoost_ADDITIONAL_VERSIONS=1.72 > I don't know about all of the flags I need to pass, but if it can find the > Boost version then it should be able to detect all of the stuff on its own, > right? It should, but it still may need hints like Boost_COMPILER, or Boost_ARCHITECTURE. FindBoost is a Find-module. A Find-module is a ***guesser***. A guesser has right to fail to guess...no hard promises. https://cmake.org/cmake/help/latest/manual/cmake-packages.7.html "Unlike a package configuration file, it is not shipped with upstream, but is used by downstream to find the files by guessing locations of files with platform-specific hints." Best regards, -- Mateusz Loskot, http://mateusz.loskot.net -- Powered by kitware.com/cmake Kitware offers various services to support the CMake community. For more information on each offering, please visit https://cmake.org/services Visit other Kitware open-source projects at https://www.kitware.com/platforms Follow this link to subscribe/unsubscribe: https://cmake.org/mailman/listinfo/cmake This mailing list is deprecated in favor of https://discourse.cmake.org