vcpkg/ports/netgen/git-ver.patch
Alexander Neumann 0258ea3338
[netgen] occ 7.8 fix (#36259)
* remove accidental , from patch

* [netgen] fix build with occ 7.8

* bump port version

* v db
2024-01-19 12:29:00 -08:00

15 lines
568 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6e9f4cc..bf92061 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -430,7 +430,8 @@ endif (USE_MPEG)
#######################################################################
add_custom_target(ng_generate_version_file
${CMAKE_COMMAND}
- -DBDIR=${CMAKE_CURRENT_BINARY_DIR}
+ -DBDIR=${CMAKE_CURRENT_BINARY_DIR}
+ -DNETGEN_VERSION_GIT=${NETGEN_VERSION_GIT}
-P ${CMAKE_CURRENT_LIST_DIR}/cmake/generate_version_file.cmake
)
#######################################################################