storj-uplink: 1.119.15 -> 1.120.4 (#375732)
[NixPkgs.git] / pkgs / by-name / li / libtiff / rename-version.patch
blobf5c9ec2811cabbb308b7e973145f561aab5e2914
1 diff --git a/cmake/AutotoolsVersion.cmake b/cmake/AutotoolsVersion.cmake
2 index f93f5cf0..fd33df59 100644
3 --- a/cmake/AutotoolsVersion.cmake
4 +++ b/cmake/AutotoolsVersion.cmake
5 @@ -41,7 +41,7 @@ set(LIBTIFF_VERSION "${LIBTIFF_MAJOR_VERSION}.${LIBTIFF_MINOR_VERSION}.${LIBTIFF
6 set(LIBTIFF_VERSION_FULL "${LIBTIFF_VERSION}${LIBTIFF_ALPHA_VERSION}")
8 # Get release version from file VERSION
9 -FILE(STRINGS "${CMAKE_CURRENT_SOURCE_DIR}/VERSION" LIBTIFF_RELEASE_VERSION)
10 +FILE(STRINGS "${CMAKE_CURRENT_SOURCE_DIR}/VERSION.txt" LIBTIFF_RELEASE_VERSION)
12 # Package date - get it from file RELEASE-DATE
13 FILE(STRINGS "${CMAKE_CURRENT_SOURCE_DIR}/RELEASE-DATE" LIBTIFF_RELEASE_DATE)