From 1670d7ee3ed29a03f50ba9deb4e8af47d31eab64 Mon Sep 17 00:00:00 2001 From: kaizhangNV <149626564+kaizhangNV@users.noreply.github.com> Date: Tue, 23 Jul 2024 12:15:27 -0500 Subject: Install the missing public headers in release package (#4712) In the change: 2db15080 Move the file public header files to `include` dir (#4636) we miss the installation of the public headers as they move to a new `include` folder, and cpack doesn't catch those automatically. Therefore, add the install command to install those headers. --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 05dcd7db7..54eae379b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -818,5 +818,9 @@ install(DIRECTORY "${slang_SOURCE_DIR}/docs/" DESTINATION share/doc/slang ) +install(DIRECTORY + "${slang_SOURCE_DIR}/include" + DESTINATION . +) include(CPack) -- cgit v1.2.3