boostorg / gil

Boost.GIL - Generic Image Library | Requires C++14 since Boost 1.80
https://boostorg.github.io/gil
Boost Software License 1.0
178 stars 164 forks source link

Guard boost::filesystem usage #743

Closed simmplecoder closed 3 months ago

simmplecoder commented 4 months ago

Description

CMake was unopinionated about what filesystem is used and required excessive flag setting. Now it clarifies that boost::filesystem is default and std::filesystem is used in case BOOST_GIL_USE_BOOST_FILESYSTEM is off and CMAKE_CXX_STANDARD>=17.

Apparently we did not explicitly linked to boost libraries anyway. Either that, or I overlooked it.

References

https://github.com/boostorg/gil/issues/742

Tasklist

mloskot commented 4 months ago

I think this is what we need, thank you!