[CMake] FindBoost not finding MinGW libraries

Sergei Nikulov sergey.nikulov at gmail.com
Tue Nov 15 06:10:49 EST 2016


2016-11-15 12:26 GMT+03:00 David Demelier <demelier.david at gmail.com>:
> 2016-11-14 16:00 GMT+01:00 Sergei Nikulov <sergey.nikulov at gmail.com>:
>> Add option -DBoost_ADDITIONAL_VERSIONS="1.62.00;1.62" to command line
>> or
>> Update you findboost.cmake module from CMake repository.
>
> I've tried the additional the variable with no luck. I've also updated
> CMake to 3.7 with no luck. I will try by downloading the
> FindBoost.cmake from the git.
>
> --
> Demelier David

Anyway, you should add additional versions.
According to your output there is no version 1.62 in find module.

> Files/CMake/share/cmake-3.6/Modules/FindBoost.cmake:1032 ]
_boost_TEST_VERSIONS =
1.61.0;1.61;1.60.0;1.60;1.59.0;1.59;1.58.0;1.58;1.57.0;1.57;1.56.0;1.56;1.55.0;1.55;1.54.0;1.54;1.53.0;1.53;1.52.0;1.52;1.51.0;1.51;1.50.0;1.50;1.49.0;1.49;1.48.0;1.48;1.47.0;1.47;1.46.1;1.46.0;1.46;1.45.0;1.45;1.44.0;1.44;1.43.0;1.43;1.42.0;1.42;1.41.0;1.41;1.40.0;1.40;1.39.0;1.39;1.38.0;1.38;1.37.0;1.37;1.36.1;1.36.0;1.36;1.35.1;1.35.0;1.35;1.34.1;1.34.0;1.34;1.33.1;1.33.0;1.33


And option -DBOOST_ROOT=C:\env\mingw64 also should be enough.

-- 
Best Regards,
Sergei Nikulov


More information about the CMake mailing list