sml
sml copied to clipboard
Boost-dependency in CMakeLists.txt should depend on SML_BUILD_BENCHMARKS
https://github.com/boost-ext/sml/blob/03eacdb27fcd209472f3702ef94a7cbca699f185/CMakeLists.txt#L79
find_package(Boost REQUIRED)
and target_link_libraries(sml INTERFACE Boost::boost)
should be wrapped in if(${SML_BUILD_BENCHMARKS}) ... endif()
since the l in sml stands for lite ... ;-)
I made an attempt at fixing this in #507 since I encountered this problem when trying to include sml in a project using FetchContent.