summaryrefslogtreecommitdiff
path: root/Meta/CMake
diff options
context:
space:
mode:
authorTimothy Flynn <trflynn89@pm.me>2021-12-30 08:47:38 -0500
committerLinus Groh <mail@linusgroh.de>2022-01-08 12:45:34 +0100
commita70e029236bf1971c96a0a48421292b668be91e9 (patch)
tree5734482b889d7477e69d6e277eeba84e934dcbf5 /Meta/CMake
parent363eafbc44ef6dd17d68a7d6228eaa4c2e7d9f63 (diff)
downloadserenity-a70e029236bf1971c96a0a48421292b668be91e9.zip
Meta: Redefine link_with_unicode_data to not include unicode_data.cmake
This is to prevent an import cycle in a subsequent commit.
Diffstat (limited to 'Meta/CMake')
-rw-r--r--Meta/CMake/utils.cmake3
1 files changed, 1 insertions, 2 deletions
diff --git a/Meta/CMake/utils.cmake b/Meta/CMake/utils.cmake
index 65392d46c5..6783ee1277 100644
--- a/Meta/CMake/utils.cmake
+++ b/Meta/CMake/utils.cmake
@@ -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()