summaryrefslogtreecommitdiffstats
path: root/library/cpp/yt/string
diff options
context:
space:
mode:
authorbabenko <[email protected]>2023-03-03 09:26:42 +0300
committerbabenko <[email protected]>2023-03-03 09:26:42 +0300
commitabfca1b53fa9b0a4bd67a60fc117ab3af735bc78 (patch)
treea04b397a6ee9136b137f58b4a7ca5dfe9246a435 /library/cpp/yt/string
parentd12d9bfcba02f191a981246652f15fb5bcb67d32 (diff)
Enable -Wdeprecated-this-capture for all YT projects
Diffstat (limited to 'library/cpp/yt/string')
-rw-r--r--library/cpp/yt/string/CMakeLists.darwin.txt3
-rw-r--r--library/cpp/yt/string/CMakeLists.linux-aarch64.txt3
-rw-r--r--library/cpp/yt/string/CMakeLists.linux.txt3
3 files changed, 9 insertions, 0 deletions
diff --git a/library/cpp/yt/string/CMakeLists.darwin.txt b/library/cpp/yt/string/CMakeLists.darwin.txt
index c2e15d6a7ca..77a9e8a268f 100644
--- a/library/cpp/yt/string/CMakeLists.darwin.txt
+++ b/library/cpp/yt/string/CMakeLists.darwin.txt
@@ -8,6 +8,9 @@
add_library(cpp-yt-string)
+target_compile_options(cpp-yt-string PRIVATE
+ -Wdeprecated-this-capture
+)
target_link_libraries(cpp-yt-string PUBLIC
contrib-libs-cxxsupp
yutil
diff --git a/library/cpp/yt/string/CMakeLists.linux-aarch64.txt b/library/cpp/yt/string/CMakeLists.linux-aarch64.txt
index b5083d38557..cfafefd2b17 100644
--- a/library/cpp/yt/string/CMakeLists.linux-aarch64.txt
+++ b/library/cpp/yt/string/CMakeLists.linux-aarch64.txt
@@ -8,6 +8,9 @@
add_library(cpp-yt-string)
+target_compile_options(cpp-yt-string PRIVATE
+ -Wdeprecated-this-capture
+)
target_link_libraries(cpp-yt-string PUBLIC
contrib-libs-linux-headers
contrib-libs-cxxsupp
diff --git a/library/cpp/yt/string/CMakeLists.linux.txt b/library/cpp/yt/string/CMakeLists.linux.txt
index b5083d38557..cfafefd2b17 100644
--- a/library/cpp/yt/string/CMakeLists.linux.txt
+++ b/library/cpp/yt/string/CMakeLists.linux.txt
@@ -8,6 +8,9 @@
add_library(cpp-yt-string)
+target_compile_options(cpp-yt-string PRIVATE
+ -Wdeprecated-this-capture
+)
target_link_libraries(cpp-yt-string PUBLIC
contrib-libs-linux-headers
contrib-libs-cxxsupp