The package arrow provides CMake targets: find_package(Arrow CONFIG REQUIRED) target_link_libraries(main PRIVATE "$,Arrow::arrow_static,Arrow::arrow_shared>")