fix mesh_estimation

This commit is contained in:
Maxime Gimeno 2021-02-16 15:15:36 +01:00
parent 1f7b43d141
commit 90d725f3c0
1 changed files with 1 additions and 1 deletions

View File

@ -13,8 +13,8 @@ if(TARGET CGAL::Eigen3_support)
# Link with Boost.ProgramOptions (optional)
find_package(Boost QUIET COMPONENTS program_options)
create_single_source_cgal_program("Mesh_estimation.cpp")
if(Boost_PROGRAM_OPTIONS_FOUND)
create_single_source_cgal_program("Mesh_estimation.cpp")
target_link_libraries(Mesh_estimation PUBLIC CGAL::Eigen3_support)
if(TARGET Boost::filesystem)
target_link_libraries(Mesh_estimation PRIVATE Boost::program_options)