To do this, you should use CMake 3.23’s FILE_SET feature. If you need older versions, just make it PRIVATE and make a manual install(FILES) call for the headers.
To do this, you should use CMake 3.23’s FILE_SET feature. If you need older versions, just make it PRIVATE and make a manual install(FILES) call for the headers.