Meta: Redefine link_with_unicode_data to not include unicode_data.cmake
This is to prevent an import cycle in a subsequent commit.
This commit is contained in:
parent
363eafbc44
commit
a70e029236
Notes:
sideshowbarker
2024-07-18 08:59:31 +09:00
Author: https://github.com/trflynn89 Commit: https://github.com/SerenityOS/serenity/commit/a70e029236b Pull-request: https://github.com/SerenityOS/serenity/pull/11699 Reviewed-by: https://github.com/linusg ✅
1 changed files with 1 additions and 2 deletions
|
@ -1,7 +1,6 @@
|
|||
|
||||
include(${CMAKE_CURRENT_LIST_DIR}/serenity_components.cmake)
|
||||
include(${CMAKE_CURRENT_LIST_DIR}/code_generators.cmake)
|
||||
include(${CMAKE_CURRENT_LIST_DIR}/unicode_data.cmake)
|
||||
|
||||
function(serenity_install_headers target_name)
|
||||
file(GLOB_RECURSE headers RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*.h")
|
||||
|
@ -155,7 +154,7 @@ function(embed_resource target section file)
|
|||
endfunction()
|
||||
|
||||
function(link_with_unicode_data target)
|
||||
if (DEFINED UNICODE_DATA_SOURCES)
|
||||
if (ENABLE_UNICODE_DATABASE_DOWNLOAD)
|
||||
target_link_libraries("${target}" LibUnicodeData)
|
||||
endif()
|
||||
endfunction()
|
||||
|
|
Loading…
Add table
Reference in a new issue