AK: Install generated Debug.h into /usr/include

Ports like SDL2 can depend on headers that try to include `Debug.h`.
This commit is contained in:
Jelle Raaijmakers 2022-04-27 23:47:56 +02:00 committed by Andreas Kling
parent 15b0c38c0f
commit a8949f4eca
Notes: sideshowbarker 2024-07-17 11:30:05 +09:00

View file

@ -155,6 +155,7 @@ endif(ENABLE_ALL_THE_DEBUG_MACROS)
configure_file(AK/Debug.h.in AK/Debug.h @ONLY) configure_file(AK/Debug.h.in AK/Debug.h @ONLY)
configure_file(Kernel/Debug.h.in Kernel/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_STAGING_PREFIX ${CMAKE_BINARY_DIR}/Root)
set(CMAKE_INSTALL_PREFIX ${CMAKE_BINARY_DIR}/Root) set(CMAKE_INSTALL_PREFIX ${CMAKE_BINARY_DIR}/Root)