aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/googletest
diff options
context:
space:
mode:
authorsvidyuk <svidyuk@yandex-team.com>2023-02-18 07:43:57 +0300
committersvidyuk <svidyuk@yandex-team.com>2023-02-18 07:43:57 +0300
commita9e5890a07cad8cfc475223eb12855a31ec8318a (patch)
tree104d1c6ba83fb89e4373d7582c7a465c9fbbad16 /contrib/restricted/googletest
parent8febb7430db23f80ae26a24cbfdc17e40ae3d1db (diff)
downloadydb-a9e5890a07cad8cfc475223eb12855a31ec8318a.tar.gz
NO_COMPILER_WARNINGS in cmake msvc builds
Diffstat (limited to 'contrib/restricted/googletest')
-rw-r--r--contrib/restricted/googletest/googlemock/CMakeLists.darwin.txt2
-rw-r--r--contrib/restricted/googletest/googlemock/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/restricted/googletest/googlemock/CMakeLists.linux.txt2
-rw-r--r--contrib/restricted/googletest/googletest/CMakeLists.darwin.txt2
-rw-r--r--contrib/restricted/googletest/googletest/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/restricted/googletest/googletest/CMakeLists.linux.txt2
6 files changed, 6 insertions, 6 deletions
diff --git a/contrib/restricted/googletest/googlemock/CMakeLists.darwin.txt b/contrib/restricted/googletest/googlemock/CMakeLists.darwin.txt
index 01a09f2518..01df6b6ce7 100644
--- a/contrib/restricted/googletest/googlemock/CMakeLists.darwin.txt
+++ b/contrib/restricted/googletest/googlemock/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(restricted-googletest-googlemock)
target_compile_options(restricted-googletest-googlemock PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-googletest-googlemock PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/googletest/googlemock/include
diff --git a/contrib/restricted/googletest/googlemock/CMakeLists.linux-aarch64.txt b/contrib/restricted/googletest/googlemock/CMakeLists.linux-aarch64.txt
index c4c70f8184..d500700c45 100644
--- a/contrib/restricted/googletest/googlemock/CMakeLists.linux-aarch64.txt
+++ b/contrib/restricted/googletest/googlemock/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(restricted-googletest-googlemock)
target_compile_options(restricted-googletest-googlemock PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-googletest-googlemock PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/googletest/googlemock/include
diff --git a/contrib/restricted/googletest/googlemock/CMakeLists.linux.txt b/contrib/restricted/googletest/googlemock/CMakeLists.linux.txt
index c4c70f8184..d500700c45 100644
--- a/contrib/restricted/googletest/googlemock/CMakeLists.linux.txt
+++ b/contrib/restricted/googletest/googlemock/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(restricted-googletest-googlemock)
target_compile_options(restricted-googletest-googlemock PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-googletest-googlemock PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/googletest/googlemock/include
diff --git a/contrib/restricted/googletest/googletest/CMakeLists.darwin.txt b/contrib/restricted/googletest/googletest/CMakeLists.darwin.txt
index 5036ceefb6..b28f00772f 100644
--- a/contrib/restricted/googletest/googletest/CMakeLists.darwin.txt
+++ b/contrib/restricted/googletest/googletest/CMakeLists.darwin.txt
@@ -15,7 +15,7 @@ target_compile_options(restricted-googletest-googletest PUBLIC
-DGTEST_USES_RE2=1
)
target_compile_options(restricted-googletest-googletest PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-googletest-googletest PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/googletest/googletest/include
diff --git a/contrib/restricted/googletest/googletest/CMakeLists.linux-aarch64.txt b/contrib/restricted/googletest/googletest/CMakeLists.linux-aarch64.txt
index 94afee8256..b04078314e 100644
--- a/contrib/restricted/googletest/googletest/CMakeLists.linux-aarch64.txt
+++ b/contrib/restricted/googletest/googletest/CMakeLists.linux-aarch64.txt
@@ -15,7 +15,7 @@ target_compile_options(restricted-googletest-googletest PUBLIC
-DGTEST_USES_RE2=1
)
target_compile_options(restricted-googletest-googletest PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-googletest-googletest PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/googletest/googletest/include
diff --git a/contrib/restricted/googletest/googletest/CMakeLists.linux.txt b/contrib/restricted/googletest/googletest/CMakeLists.linux.txt
index 94afee8256..b04078314e 100644
--- a/contrib/restricted/googletest/googletest/CMakeLists.linux.txt
+++ b/contrib/restricted/googletest/googletest/CMakeLists.linux.txt
@@ -15,7 +15,7 @@ target_compile_options(restricted-googletest-googletest PUBLIC
-DGTEST_USES_RE2=1
)
target_compile_options(restricted-googletest-googletest PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-googletest-googletest PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/googletest/googletest/include