FindBoost: Does not detect gcc arch-model on windows10
I compile Boost library with this options:
./b2 toolset=gcc address-model=x64 variant=release link=static runtime-link=static threading=multi install -j8
the output of boost library format is:
libboost_sytem-mgw81-mt-s-x64-1_69.a
and the cmake to find boost option is:
set(Boost_THREADAPI pthread)
set(Boost_USE_MULTITHREADED ON)
set(Boost_USE_STATIC_LIBS ON)
set( Boost_ARCHITECTURE -x64)
If I don't set Boost_ARCHITECHTURE flag and auto-compute : cmake search library debug output is:
Searching for SYSTEM_LIBRARY_RELEASE: libboost_system-mgw81-mt-s-1_69;libboost_system-mgw81-mt-s;libboost_system-mgw81-mt-s;libboost_system-mt-s-1_69;libboost_system-mt-s;libboost_system-mt-s;libboost_system-mt;libboost_system
Searching for SYSTEM_LIBRARY_DEBUG: libboost_system-mgw81-mt-sd-1_69;libboost_system-mgw81-mt-sd;libboost_system-mgw81-mt-sd;libboost_system-mt-sd-1_69;libboost_system-mt-sd;libboost_system-mt-sd;libboost_system-mt;libboost_system
then cmake reports Could not find following static Boost libraries boost_system
Edited by Brad King