FruitΒΆ

hunter_add_package(Fruit)
find_package(Fruit CONFIG REQUIRED)

add_executable(foo foo.cpp)

target_link_libraries(foo PRIVATE Fruit::fruit)

Note

Boost disabled by default since it has issues on some platforms.

Use FRUIT_USES_BOOST=ON to enable it.

# config.cmake
hunter_config(Fruit
    VERSION ${HUNTER_Fruit_VERSION}
    CMAKE_ARGS
        FRUIT_USES_BOOST=ON
)