From 3d51ccdaae17b1c8ea8a07d13fba98fb14eb50db Mon Sep 17 00:00:00 2001 From: Alexey Ochapov Date: Thu, 29 Apr 2021 02:06:07 +0300 Subject: [PATCH] gtest: remove obsolete `GTEST_LANG_CXX11` compile definition setting --- test/gtest/CMakeLists.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/gtest/CMakeLists.txt b/test/gtest/CMakeLists.txt index d82fb5c9..1282d62a 100644 --- a/test/gtest/CMakeLists.txt +++ b/test/gtest/CMakeLists.txt @@ -17,8 +17,6 @@ else () target_compile_definitions(gtest PUBLIC GTEST_HAS_PTHREAD=0) endif () -target_compile_definitions(gtest PUBLIC GTEST_LANG_CXX11=1) - if (MSVC) # Disable MSVC warnings of _CRT_INSECURE_DEPRECATE functions. target_compile_definitions(gtest PRIVATE _CRT_SECURE_NO_WARNINGS)