From a8949f4eca4470326f4af54d1c65753500d8585c Mon Sep 17 00:00:00 2001 From: Jelle Raaijmakers Date: Wed, 27 Apr 2022 23:47:56 +0200 Subject: [PATCH] AK: Install generated `Debug.h` into `/usr/include` Ports like SDL2 can depend on headers that try to include `Debug.h`. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4f8e6694fbb..66c3b7f9659 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -155,6 +155,7 @@ endif(ENABLE_ALL_THE_DEBUG_MACROS) configure_file(AK/Debug.h.in AK/Debug.h @ONLY) configure_file(Kernel/Debug.h.in Kernel/Debug.h @ONLY) +install(FILES ${CMAKE_CURRENT_BINARY_DIR}/AK/Debug.h DESTINATION usr/include/AK) set(CMAKE_STAGING_PREFIX ${CMAKE_BINARY_DIR}/Root) set(CMAKE_INSTALL_PREFIX ${CMAKE_BINARY_DIR}/Root)