Re: [CMake] CMake's FindBoost Module Can't Detect Boost Version

2019-12-18 Thread Deniz Bahadir
Am 17.12.19 um 17:35 schrieb Mateusz Loskot: On Tue, 17 Dec 2019 at 16:39, Osman Zakir wrote: I built Boost 1.72.0 while passing the "--layout=versioned" flag to b2, but when I tried to rebuild Jinja2Cpp with the newer version of Boost using CMake, it failed to generate project files and

Re: [CMake] CMake's FindBoost Module Can't Detect Boost Version

2019-12-17 Thread Osman Zakir
Yeah, forgot. I did specify the values for the flags on the actual thing. -DBoost_COMPILER=-vc142, -DBoost_ARCHITECTURE=-x64 and -DBoost_DEBUG=ON. I'll try specifying the version number like what you said. Thanks for that. -- Powered by kitware.com/cmake Kitware offers various services to

Re: [CMake] CMake's FindBoost Module Can't Detect Boost Version

2019-12-17 Thread Mateusz Loskot
On Tue, 17 Dec 2019 at 18:43, Osman Zakir 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

Re: [CMake] CMake's FindBoost Module Can't Detect Boost Version

2019-12-17 Thread Osman Zakir
I tried passing -DBoost_COMPILER and -DBoost_DEBUG 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? I'm using MSVC version 14.2, Visual Studio 2019. I'm using the

Re: [CMake] CMake's FindBoost Module Can't Detect Boost Version

2019-12-17 Thread Mateusz Loskot
On Tue, 17 Dec 2019 at 16:39, Osman Zakir wrote: > > I built Boost 1.72.0 while passing the "--layout=versioned" flag to b2, but > when I tried to rebuild Jinja2Cpp with the newer version of Boost using > CMake, it failed to generate project files and said it couldn't filesystem > and system

[CMake] CMake's FindBoost Module Can't Detect Boost Version

2019-12-17 Thread Osman Zakir
I built Boost 1.72.0 while passing the "--layout=versioned" flag to b2, but when I tried to rebuild Jinja2Cpp with the newer version of Boost using CMake, it failed to generate project files and said it couldn't filesystem and system and also couldn't detect version information. Could someone