aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/common.cmake
diff options
context:
space:
mode:
authorrobot-ya-builder <robot-ya-builder@yandex-team.com>2023-03-22 16:21:45 +0300
committerrobot-ya-builder <robot-ya-builder@yandex-team.com>2023-03-22 16:21:45 +0300
commitdcfbca83625db8e6ef90c4af666edf6941b184f8 (patch)
tree32d22dd32fdd9965b374c664d494be1fb58bc9f2 /cmake/common.cmake
parent810148170e2b9b4b601c54aeb8076bb6fb5ee4fe (diff)
downloadydb-dcfbca83625db8e6ef90c4af666edf6941b184f8.tar.gz
External build system generator release 24
Update tools: yexport
Diffstat (limited to 'cmake/common.cmake')
-rw-r--r--cmake/common.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmake/common.cmake b/cmake/common.cmake
index 784ff43ff0..1f9d67ea9a 100644
--- a/cmake/common.cmake
+++ b/cmake/common.cmake
@@ -218,7 +218,8 @@ function(use_export_script Target ExportFile)
message(FATAL_ERROR "Failed to parse export symbols from ${ExportFile}:\n${_SCRIPT_STDERR}")
return()
endif()
- target_link_options(${Target} PRIVATE ${_SCRIPT_FLAGS})
+ separate_arguments(ParsedScriptFlags NATIVE_COMMAND ${_SCRIPT_FLAGS})
+ target_link_options(${Target} PRIVATE ${ParsedScriptFlags})
return()
else()
set(EXPORT_SCRIPT_FLAVOR gnu)