diff --git a/build-linux.sh b/build-linux.sh index 6b6fc0a..2ffb15f 100755 --- a/build-linux.sh +++ b/build-linux.sh @@ -18,7 +18,7 @@ GENERIC="generic-w64-mingw32" # CMake Settings CMAKEDIR="${SRCDIR}/cmake" -CMAKETAG="v3.18.1" +CMAKETAG="v3.19.2" CMAKEVCS="https://gitlab.kitware.com/cmake/cmake.git" # LLVM Settings diff --git a/patches/cmake/v3.19.2/001-add-xtc-version-suffix.patch b/patches/cmake/v3.19.2/001-add-xtc-version-suffix.patch new file mode 100644 index 0000000..7319cbf --- /dev/null +++ b/patches/cmake/v3.19.2/001-add-xtc-version-suffix.patch @@ -0,0 +1,13 @@ +diff --git a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake +index 818109f0b7..749377d193 100644 +--- a/Source/CMakeVersion.cmake ++++ b/Source/CMakeVersion.cmake +@@ -7,7 +7,7 @@ set(CMake_VERSION_IS_DIRTY 0) + + # Start with the full version number used in tags. It has no dev info. + set(CMake_VERSION +- "${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}.${CMake_VERSION_PATCH}") ++ "${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}.${CMake_VERSION_PATCH}-XTC") + if(DEFINED CMake_VERSION_RC) + set(CMake_VERSION "${CMake_VERSION}-rc${CMake_VERSION_RC}") + endif()