The package CorrelationVector-Cpp provides CMake targets: find_package(correlation_vector CONFIG REQUIRED) target_link_libraries(main PRIVATE microsoft::correlation_vector)