CMake doesn't find Boost libraries

前端 未结 5 1555
醉话见心
醉话见心 2020-12-15 06:10

I\'m trying to use a CMake script to compile a Boost-based application on Windows. The header-only libraries work fine, but CMake fails to find the libraries (the following

5条回答
  •  轮回少年
    2020-12-15 06:49

    You can add the following option to the command line of CMake to tell CGAL to use the static Boost libraries:

    -DCGAL_Boost_USE_STATIC_LIBS=true
    

提交回复
热议问题