aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordimdim11 <dimdim11@yandex-team.com>2024-07-19 14:05:33 +0300
committerdimdim11 <dimdim11@yandex-team.com>2024-07-19 15:38:35 +0300
commitf61975e8dae42d86504b0e776f98d06d1d7c4a45 (patch)
tree7ffbf2519fa63e6b60afb07d637cad7c58b93a21
parentc9b78dd072a7b7444271e3d682cd8e8ac60a7f42 (diff)
downloadydb-f61975e8dae42d86504b0e776f98d06d1d7c4a45.tar.gz
Fix allocators for add_shared_library in new cmake generator
Fix allocators for add_shared_library in new cmake generator e82374febc67d55f84e02b7d740f9ebd8973e37b
-rw-r--r--build/export_generators/cmake/target_links.jinja2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/export_generators/cmake/target_links.jinja b/build/export_generators/cmake/target_links.jinja
index 4bce4d28ac..3b349c17a7 100644
--- a/build/export_generators/cmake/target_links.jinja
+++ b/build/export_generators/cmake/target_links.jinja
@@ -28,7 +28,7 @@
{%- endif -%}
{%- endif -%}
{%- if (current_target.allocators is defined) and (current_target.allocators|length) -%}
-{%- if (current_target.macro == "add_executable") or (current_target.macro == "add_library" and ("SHARED" in current_target.macro_args)) -%}
+{%- if (current_target.macro == "add_executable") or (current_target.macro == "add_shared_library") or (current_target.macro == "add_library" and ("SHARED" in current_target.macro_args)) -%}
{#- support allocators -#}
{%- set allocators = allocators + current_target.allocators -%}
{%- else -%}