CMake FIND_PACKAGE succeeds but returns wrong path

后端 未结 6 1400
日久生厌
日久生厌 2020-12-14 19:57

I\'m trying to have CMake 2.8.6 link to boost::program_options using the following code in my CMakeLists.txt

FIND_PACKAGE(Boost COMPONENTS program_options RE         


        
6条回答
  •  遥遥无期
    2020-12-14 20:52

    This seems to be an issue with CMake 2.8.6 on CentOS. When doing the same with 2.6.4 or 2.8.3 it works correctly. Also with 2.8.7 on OS X it also works correctly.

提交回复
热议问题