vcpkg/ports/azure-storage-cpp/remove-gcov-dependency.patch
crusader-mike 1f910f0fe5 [azure-storage-cpp] Removed gcov dependency in debug Linux build (#7311) (#7404)
* Resolves "project is never up-to-date" problem (issue 6179)

* [azure-storage-cpp] Removed gcov dependency in debug Linux build (#7311)

* [azure-storage-cpp] bump version
2019-07-29 16:01:04 -07:00

15 lines
517 B
Diff

diff --git a/Microsoft.WindowsAzure.Storage/src/CMakeLists.txt b/Microsoft.WindowsAzure.Storage/src/CMakeLists.txt
index 6443f8e..db20749 100644
--- a/Microsoft.WindowsAzure.Storage/src/CMakeLists.txt
+++ b/Microsoft.WindowsAzure.Storage/src/CMakeLists.txt
@@ -63,9 +63,6 @@ if(UNIX OR WIN32)
)
endif()
-if ("${CMAKE_BUILD_TYPE}" MATCHES "Debug")
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fprofile-arcs -ftest-coverage")
-endif()
if (APPLE)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${WARNINGS}")
else()