1 2 3 4
gapp provides CMake targets: find_package(gapp CONFIG REQUIRED) target_link_libraries(main PRIVATE gapp::gapp)