summaryrefslogtreecommitdiff
path: root/clang/cmake/modules/ClangConfigVersion.cmake.in
diff options
context:
space:
mode:
authorThomas Preud'homme <thomasp@graphcore.ai>2022-11-25 10:54:58 +0000
committerThomas Preud'homme <thomasp@graphcore.ai>2022-11-25 10:54:58 +0000
commitb62c8d396f7dbef61122e169ef143276e74eff05 (patch)
tree8614b26963f0e206d72fffbe48309a1e2a3dbe2c /clang/cmake/modules/ClangConfigVersion.cmake.in
parent79b5829a155f256001ead535c358a1193cd0cbe8 (diff)
downloadllvm-b62c8d396f7dbef61122e169ef143276e74eff05.tar.gz
Revert: Add version to all LLVM cmake package
Summary: This reverts commit ad485b71b51168ce13282ae159bd8feff48baf84. Reviewers: Subscribers:
Diffstat (limited to 'clang/cmake/modules/ClangConfigVersion.cmake.in')
-rw-r--r--clang/cmake/modules/ClangConfigVersion.cmake.in13
1 files changed, 0 insertions, 13 deletions
diff --git a/clang/cmake/modules/ClangConfigVersion.cmake.in b/clang/cmake/modules/ClangConfigVersion.cmake.in
deleted file mode 100644
index e9ac4ed2da78..000000000000
--- a/clang/cmake/modules/ClangConfigVersion.cmake.in
+++ /dev/null
@@ -1,13 +0,0 @@
-set(PACKAGE_VERSION "@PACKAGE_VERSION@")
-
-# LLVM is API-compatible only with matching major.minor versions
-# and patch versions not less than that requested.
-if("@LLVM_VERSION_MAJOR@.@LLVM_VERSION_MINOR@" VERSION_EQUAL
- "${PACKAGE_FIND_VERSION_MAJOR}.${PACKAGE_FIND_VERSION_MINOR}"
- AND NOT "@LLVM_VERSION_PATCH@" VERSION_LESS "${PACKAGE_FIND_VERSION_PATCH}")
- set(PACKAGE_VERSION_COMPATIBLE 1)
- if("@LLVM_VERSION_PATCH@" VERSION_EQUAL
- "${PACKAGE_FIND_VERSION_PATCH}")
- set(PACKAGE_VERSION_EXACT 1)
- endif()
-endif()