File tree Expand file tree Collapse file tree 2 files changed +3
-12
lines changed
Expand file tree Collapse file tree 2 files changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -214,12 +214,6 @@ set(OTELCPP_PROTO_PATH
214214 CACHE PATH "Path to opentelemetry-proto" )
215215
216216if (WIN32 )
217- if (BUILD_TESTING)
218- if (MSVC )
219- # Warning as error: warning STL4036: <ciso646> is removed in C++20
220- add_compile_options (/wd4996)
221- endif ()
222- endif ()
223217 option (WITH_ETW "Whether to include the ETW Exporter in the SDK" ON )
224218endif (WIN32 )
225219
Original file line number Diff line number Diff line change @@ -13,22 +13,19 @@ if [ "x$CMAKE_VERSION" = "x" ]; then
1313 export CMAKE_VERSION=3.15.2
1414fi
1515
16- # This variable not set on CI pipeline for only legacy environment(GCC 4.8).
17- # With 1.13.0 version, C++14 must be set which does not supported by legacy environment anymore.
18- # Also with this version, release version path needs to be adapted.
1916if [ -z " ${GOOGLETEST_VERSION} " ]; then
20- # By default, GoogleTest version set the following version .
17+ # Version by default. Requires C++14 .
2118 export GOOGLETEST_VERSION=1.13.0
2219fi
2320
2421OLD_GOOGLETEST_VERSION_REGEXP=" ^1\.([0-9]|10|11|12)(\..*)?$"
2522
26- # If GoogleTest version less than ${GOOGLETEST_LATEST_VERSION}
27- # Else otherwise
2823if [[ ${GOOGLETEST_VERSION} =~ ${OLD_GOOGLETEST_VERSION_REGEXP} ]]; then
24+ # Old (up to 1.12.x included) download URL format.
2925 GOOGLETEST_VERSION_PATH=" release-${GOOGLETEST_VERSION} "
3026 GOOGLETEST_FOLDER_PATH=" googletest-release-${GOOGLETEST_VERSION} "
3127else
28+ # New (since 1.13.0) download URL format.
3229 GOOGLETEST_VERSION_PATH=" v${GOOGLETEST_VERSION} "
3330 GOOGLETEST_FOLDER_PATH=" googletest-${GOOGLETEST_VERSION} "
3431fi
You can’t perform that action at this time.
0 commit comments