The package kissnet is header only and can be used from CMake via: find_path(KISSNET_INCLUDE_DIRS "kissnet.hpp") target_include_directories(main PRIVATE ${KISSNET_INCLUDE_DIRS})