Browse Source

Update CMake to v3.19.2 and add version suffix string.

llvm_toolchain
Rafal Kupiec 7 months ago
parent
commit
04edfa61dd
Signed by: belliash GPG Key ID: 4E829243E0CFE6B4
2 changed files with 14 additions and 1 deletions
  1. +1
    -1
      build-linux.sh
  2. +13
    -0
      patches/cmake/v3.19.2/001-add-xtc-version-suffix.patch

+ 1
- 1
build-linux.sh View File

@ -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


+ 13
- 0
patches/cmake/v3.19.2/001-add-xtc-version-suffix.patch View File

@ -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()

Loading…
Cancel
Save