Cmake无法找到Boost

时间:2014-10-25 15:36:17

标签: boost cmake

我尝试用cmake构建我的项目。 Evrything,但提升工作。为了提升,我收到了这条消息。

Boost version: 1.56.0    
  Boost include path: C:/Boost/include/boost-1_56    
  Could not find the following Boost libraries:    
          boost_program_options

No Boost libraries were found.  You may need to set BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT to the location of Boost.
Call Stack (most recent call first):
CMakeLists.txt:27 (FIND_PACKAGE) 

有人可以告诉我我做错了什么吗?我修改了环境变量for boost,如下所示:C:\Boost

0 个答案:

没有答案