mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
Meta: Guard everything that installs headers with an option
This commit is contained in:
parent
ffc03eb25a
commit
cf6929fef3
Notes:
github-actions[bot]
2024-07-25 19:26:05 +00:00
Author: https://github.com/timschumi
Commit: cf6929fef3
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/741
Reviewed-by: https://github.com/ADKaster ✅
8 changed files with 83 additions and 59 deletions
|
@ -11,5 +11,7 @@ function (generate_encoding_indexes)
|
|||
arguments -j "${LIBTEXTCODEC_INPUT_FOLDER}/indexes.json"
|
||||
)
|
||||
|
||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/LookupTables.h" DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/LibTextCodec/")
|
||||
if (ENABLE_INSTALL_HEADERS)
|
||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/LookupTables.h" DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/LibTextCodec/")
|
||||
endif()
|
||||
endfunction()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue