fix-cmake-install.patch 697 B

1234567891011121314151617181920212223242526
  1. From 79c136923681d7187feade455225543335525c3f Mon Sep 17 00:00:00 2001
  2. From: Biagio Festa <[email protected]>
  3. Date: Fri, 26 May 2023 14:37:58 +0200
  4. Subject: [PATCH 1/1] CMakeLists.txt: install library target (#50)
  5. ---
  6. CMakeLists.txt | 6 ++++++
  7. 1 file changed, 6 insertions(+)
  8. diff --git a/CMakeLists.txt b/CMakeLists.txt
  9. index 7f7cd40..61e2e6d 100644
  10. --- a/CMakeLists.txt
  11. +++ b/CMakeLists.txt
  12. @@ -101,3 +101,9 @@ endif()
  13. if(LSQPACK_BIN)
  14. add_subdirectory(bin)
  15. endif()
  16. +
  17. +install(TARGETS ls-qpack)
  18. +install(FILES lsqpack.h lsxpack_header.h DESTINATION include)
  19. +if(MSVC)
  20. + install(DIRECTORY wincompat/sys DESTINATION include)
  21. +endif()
  22. --
  23. 2.42.0.windows.2