The package dyno provides CMake targets: find_package(dyno CONFIG REQUIRED) target_link_libraries(main PRIVATE Dyno::dyno)