The package thermo is a header-only library and can be used from CMake via: find_package(thermo CONFIG REQUIRED) target_link_libraries(main PRIVATE thermo::thermo)