Installing TensorpipeTargets.cmake and TensorpipeTargets-<mode>.cmake is useless if a config file including TensorpipeTargets.cmake is not installed with these files: https://cmake.org/cmake/help/latest/command/find_package.html#full-signature-and-config-mode
You might also want to export tensorpipe target with a namespace to follow best practices (and add an alias target to be consistent between add_subdirectory() and find_package()).
Last but not least, you might want to properly find dependencies (cuda, libuv & libnop) in these files for consumers using this config file.
Installing
TensorpipeTargets.cmakeandTensorpipeTargets-<mode>.cmakeis useless if a config file includingTensorpipeTargets.cmakeis not installed with these files: https://cmake.org/cmake/help/latest/command/find_package.html#full-signature-and-config-modeYou might also want to export tensorpipe target with a namespace to follow best practices (and add an alias target to be consistent between
add_subdirectory()andfind_package()).Last but not least, you might want to properly find dependencies (cuda, libuv & libnop) in these files for consumers using this config file.