diff options
author | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-04-06 18:33:33 +0300 |
---|---|---|
committer | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-04-06 18:33:33 +0300 |
commit | 40b71ca5f57840f038abe9fd4f0615f92b8dece8 (patch) | |
tree | 5a257c817c11203ee636535cace605aecca3c282 /tools/rescompiler/bin | |
parent | 61b49a878a33977897d44f72118d6791ac3794fa (diff) | |
download | ydb-40b71ca5f57840f038abe9fd4f0615f92b8dece8.tar.gz |
intermediate changes
ref:e8092279aeb152c7934ef72249a90434dbbe4318
Diffstat (limited to 'tools/rescompiler/bin')
-rw-r--r-- | tools/rescompiler/bin/CMakeLists.darwin.txt | 9 | ||||
-rw-r--r-- | tools/rescompiler/bin/CMakeLists.linux.txt | 9 |
2 files changed, 8 insertions, 10 deletions
diff --git a/tools/rescompiler/bin/CMakeLists.darwin.txt b/tools/rescompiler/bin/CMakeLists.darwin.txt index a0b217f764..b3a00b437d 100644 --- a/tools/rescompiler/bin/CMakeLists.darwin.txt +++ b/tools/rescompiler/bin/CMakeLists.darwin.txt @@ -14,14 +14,13 @@ target_link_libraries(rescompiler PUBLIC library-cpp-cpuid_check library-cpp-resource ) -target_sources(rescompiler PRIVATE - ${CMAKE_SOURCE_DIR}/tools/rescompiler/main.cpp -) -target_link_flags(rescompiler - PUBLIC +target_link_options(rescompiler PRIVATE -Wl,-no_deduplicate -Wl,-sdk_version,10.15 -fPIC -fPIC ) +target_sources(rescompiler PRIVATE + ${CMAKE_SOURCE_DIR}/tools/rescompiler/main.cpp +) vcs_info(rescompiler) diff --git a/tools/rescompiler/bin/CMakeLists.linux.txt b/tools/rescompiler/bin/CMakeLists.linux.txt index 1e812927a1..970f878c13 100644 --- a/tools/rescompiler/bin/CMakeLists.linux.txt +++ b/tools/rescompiler/bin/CMakeLists.linux.txt @@ -15,11 +15,7 @@ target_link_libraries(rescompiler PUBLIC library-cpp-cpuid_check library-cpp-resource ) -target_sources(rescompiler PRIVATE - ${CMAKE_SOURCE_DIR}/tools/rescompiler/main.cpp -) -target_link_flags(rescompiler - PUBLIC +target_link_options(rescompiler PRIVATE -ldl -lrt -Wl,--no-as-needed @@ -29,4 +25,7 @@ target_link_flags(rescompiler -lrt -ldl ) +target_sources(rescompiler PRIVATE + ${CMAKE_SOURCE_DIR}/tools/rescompiler/main.cpp +) vcs_info(rescompiler) |