The package sail provides CMake targets: C libraries: find_package(Sail CONFIG REQUIRED) target_link_libraries(main PRIVATE SAIL::sail) C++ bindings: find_package(Sail CONFIG REQUIRED) target_link_libraries(main PRIVATE SAIL::sail-c++)