filesystem is now header only and lib was empty for some releases anyway

This commit is contained in:
Sébastien Loriot 2025-07-28 14:30:41 +02:00
parent 8cf322f104
commit b7f70c6972
1 changed files with 2 additions and 3 deletions

View File

@ -57,9 +57,8 @@ if(Boost_FILESYSTEM_FOUND AND Boost_SYSTEM_FOUND)
if(VTK_LIBRARIES)
target_compile_definitions(io_image_plugin PRIVATE -DCGAL_USE_VTK -DNOMINMAX)
endif()
if(TARGET Boost::filesystem AND TARGET Boost::system)
target_link_libraries(io_image_plugin PUBLIC Boost::filesystem
Boost::system)
if(TARGET Boost::filesystem)
target_link_libraries(io_image_plugin PUBLIC Boost::filesystem)
else()
target_link_libraries(io_image_plugin PUBLIC ${Boost_LIBRARIES})
endif()