hunter_add_package(cxxopts) find_package(cxxopts CONFIG REQUIRED) add_executable(boo boo.cpp) target_link_libraries(boo PUBLIC cxxopts::cxxopts)