From 9f23c6538102300535849a08e7c47919c585f5b0 Mon Sep 17 00:00:00 2001 From: Marcus Holland-Moritz Date: Mon, 5 Aug 2024 00:08:25 +0200 Subject: [PATCH] build: install the right headers --- CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 20f00b3a..2e59336d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1418,6 +1418,12 @@ if(NOT STATIC_BUILD_DO_NOT_USE) DESTINATION include PATTERN include/dwarfs/internal EXCLUDE PATTERN include/dwarfs/tool EXCLUDE + PATTERN include/dwarfs/*/internal EXCLUDE + ) + + install( + FILES ${CMAKE_CURRENT_BINARY_DIR}/include/dwarfs/version.h + DESTINATION include/dwarfs ) endif()