diff options
author | robot-ya-builder <robot-ya-builder@yandex-team.com> | 2023-03-06 16:56:18 +0300 |
---|---|---|
committer | robot-ya-builder <robot-ya-builder@yandex-team.com> | 2023-03-06 16:56:18 +0300 |
commit | cbc0c479c131a1e63ca86fe98b031e1bcac725d8 (patch) | |
tree | 12245a82da1c7f54d54befcfb7706643e8166505 /cmake/global_flags.linker.gnu.cmake | |
parent | ea8e336dc456c44b848619e120a8f3643c6125af (diff) | |
download | ydb-cbc0c479c131a1e63ca86fe98b031e1bcac725d8.tar.gz |
External build system generator release 17
Update tools: yexport
Diffstat (limited to 'cmake/global_flags.linker.gnu.cmake')
-rw-r--r-- | cmake/global_flags.linker.gnu.cmake | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cmake/global_flags.linker.gnu.cmake b/cmake/global_flags.linker.gnu.cmake new file mode 100644 index 0000000000..2bb54fbd78 --- /dev/null +++ b/cmake/global_flags.linker.gnu.cmake @@ -0,0 +1,9 @@ +add_link_options( + -nodefaultlibs + -lc + -lm +) + +if (APPLE) + set(CMAKE_SHARED_LINKER_FLAGS "-undefined dynamic_lookup") +endif() |