orc provides CMake targets: find_package(unofficial-orc CONFIG REQUIRED) target_link_libraries(main PRIVATE unofficial::orc::orc)