Skip to content

Commit

Permalink
[vincentlaucsb-csv-parser] Fix gcov linking errors on linux. (microso…
Browse files Browse the repository at this point in the history
…ft#41716)

Co-authored-by: Alberto Luaces <[email protected]>
  • Loading branch information
aluaces and Alberto Luaces authored Oct 23, 2024
1 parent 5dfeed9 commit 9f5925e
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 1 deletion.
11 changes: 11 additions & 0 deletions ports/vincentlaucsb-csv-parser/003-disable-coverage.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -29,7 +29,6 @@ if(MSVC)
else()
# Ignore Visual Studio pragma regions
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unknown-pragmas")
- set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} --coverage -Og")
endif(MSVC)

set(CSV_ROOT_DIR ${CMAKE_CURRENT_LIST_DIR})
1 change: 1 addition & 0 deletions ports/vincentlaucsb-csv-parser/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ vcpkg_from_github(
PATCHES
001-fix-cmake.patch
002-fix-include.patch
003-disable-coverage.patch
)

vcpkg_cmake_configure(
Expand Down
1 change: 1 addition & 0 deletions ports/vincentlaucsb-csv-parser/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "vincentlaucsb-csv-parser",
"version": "2.2.3",
"port-version": 1,
"description": "A modern C++ library for reading, writing, and analyzing CSV (and similar) files.",
"homepage": "https://github.com/vincentlaucsb/csv-parser",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -9394,7 +9394,7 @@
},
"vincentlaucsb-csv-parser": {
"baseline": "2.2.3",
"port-version": 0
"port-version": 1
},
"visit-struct": {
"baseline": "1.1.0",
Expand Down
5 changes: 5 additions & 0 deletions versions/v-/vincentlaucsb-csv-parser.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "4c82b4467c59f180e2508928b5512aa1c357cf80",
"version": "2.2.3",
"port-version": 1
},
{
"git-tree": "6bea0ccfd4832f3c1aeea917bd8c709c19750ebd",
"version": "2.2.3",
Expand Down

0 comments on commit 9f5925e

Please sign in to comment.