find_package(Boost 1.54 REQUIRED COMPONENTS filesystem) 在输出中我们 Searching for FILESYSTEM_LIBRARY_RELEASE:boost_filesystem-mgw11-mt-1_78;boost_filesystem-mgw11-mt;boost_filesystem-mgw11-mt;boost_filesystem-mt-1_78;boost_filesystem-mt;boost_filesystem-mt;boost_filesystem-mt;boost_filesystem...
像这里由于使用了filesystem和system,cmake find_package会去boost的lib目录下找图中命名的文件,任何一个找着都行,然后你对比我上下两张图就会发现一个问题:命名规则不一样,所以最后结果就是找不着,丢一个found boost但是filesystem miss的error,我当时遇到的是这个问题,单单修改名字能编译通过但是生成的sln工程会...
CMake Error at C:/Program Files/CMake/share/cmake-3.15/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find Boost (missing: system thread filesystem) (found suitable version "1.70.0", minimum required is "1.54") Call...