Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1diff --git a/cmake/git-version.cmake b/cmake/git-version.cmake
2index be226fd..1451ff6 100644
3--- a/cmake/git-version.cmake
4+++ b/cmake/git-version.cmake
5@@ -15,6 +15,8 @@ if(GIT_EXECUTABLE)
6 endif()
7 endif()
8
9+set(LPAC_VERSION "$ENV{LPAC_VERSION}")
10+
11 # Final fallback: Just use a bogus version string that is semantically older
12 # than anything else and spit out a warning to the developer.
13 if(NOT DEFINED LPAC_VERSION)