aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/netgen/git-ver.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/netgen/git-ver.patch')
-rw-r--r--vcpkg/ports/netgen/git-ver.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/vcpkg/ports/netgen/git-ver.patch b/vcpkg/ports/netgen/git-ver.patch
new file mode 100644
index 0000000..710b6d6
--- /dev/null
+++ b/vcpkg/ports/netgen/git-ver.patch
@@ -0,0 +1,14 @@
+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
+ )
+ #######################################################################