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