到目前为止,我已经使用
包含了3个增强库find_package(Boost COMPONENTS system thread filesystem REQUIRED)
现在我已经添加了program_options
find_package(Boost COMPONENTS system thread filesystem program_options REQUIRED)
但是cmake仅在生成的Visual Studio 2012项目中包含系统,线程和文件系统。这就是我收到此错误的原因:
2>LINK : fatal error LNK1104: cannot open file 'libboost_program_options-vc110-mt-1_55.lib'
Cmake没有抛出错误:
-- Searching for LibLAS + library
-- Found libLAS version: 1.06.000
-- Boost version: 1.55.0
-- Found the following Boost libraries:
-- system
-- thread
-- filesystem
-- program_options
-- Boost_INCLUDE_DIRS: C:/dev/lib/boost_1_55_0
-- Boost_LIBRARY_DIRS: C:/Boost/lib
-- Configuring done
-- Generating done
-- Build files have been written to: C:/de ...
我做错了吗?