diff options
author | babenko <babenko@yandex-team.com> | 2023-03-03 09:26:42 +0300 |
---|---|---|
committer | babenko <babenko@yandex-team.com> | 2023-03-03 09:26:42 +0300 |
commit | abfca1b53fa9b0a4bd67a60fc117ab3af735bc78 (patch) | |
tree | a04b397a6ee9136b137f58b4a7ca5dfe9246a435 /library/cpp/yt/misc | |
parent | d12d9bfcba02f191a981246652f15fb5bcb67d32 (diff) | |
download | ydb-abfca1b53fa9b0a4bd67a60fc117ab3af735bc78.tar.gz |
Enable -Wdeprecated-this-capture for all YT projects
Diffstat (limited to 'library/cpp/yt/misc')
-rw-r--r-- | library/cpp/yt/misc/CMakeLists.darwin.txt | 3 | ||||
-rw-r--r-- | library/cpp/yt/misc/CMakeLists.linux-aarch64.txt | 3 | ||||
-rw-r--r-- | library/cpp/yt/misc/CMakeLists.linux.txt | 3 |
3 files changed, 9 insertions, 0 deletions
diff --git a/library/cpp/yt/misc/CMakeLists.darwin.txt b/library/cpp/yt/misc/CMakeLists.darwin.txt index d05719a445..92907b63dc 100644 --- a/library/cpp/yt/misc/CMakeLists.darwin.txt +++ b/library/cpp/yt/misc/CMakeLists.darwin.txt @@ -8,6 +8,9 @@ add_library(cpp-yt-misc) +target_compile_options(cpp-yt-misc PRIVATE + -Wdeprecated-this-capture +) target_link_libraries(cpp-yt-misc PUBLIC contrib-libs-cxxsupp yutil diff --git a/library/cpp/yt/misc/CMakeLists.linux-aarch64.txt b/library/cpp/yt/misc/CMakeLists.linux-aarch64.txt index 3b4b8df296..9ed005067b 100644 --- a/library/cpp/yt/misc/CMakeLists.linux-aarch64.txt +++ b/library/cpp/yt/misc/CMakeLists.linux-aarch64.txt @@ -8,6 +8,9 @@ add_library(cpp-yt-misc) +target_compile_options(cpp-yt-misc PRIVATE + -Wdeprecated-this-capture +) target_link_libraries(cpp-yt-misc PUBLIC contrib-libs-linux-headers contrib-libs-cxxsupp diff --git a/library/cpp/yt/misc/CMakeLists.linux.txt b/library/cpp/yt/misc/CMakeLists.linux.txt index 3b4b8df296..9ed005067b 100644 --- a/library/cpp/yt/misc/CMakeLists.linux.txt +++ b/library/cpp/yt/misc/CMakeLists.linux.txt @@ -8,6 +8,9 @@ add_library(cpp-yt-misc) +target_compile_options(cpp-yt-misc PRIVATE + -Wdeprecated-this-capture +) target_link_libraries(cpp-yt-misc PUBLIC contrib-libs-linux-headers contrib-libs-cxxsupp |