summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/cmake/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/cmake/package.py b/var/spack/repos/builtin/packages/cmake/package.py
index 3951a70384..97168c05f1 100644
--- a/var/spack/repos/builtin/packages/cmake/package.py
+++ b/var/spack/repos/builtin/packages/cmake/package.py
@@ -168,7 +168,7 @@ class Cmake(Package):
# Remove -A from the C++ flags we use when CXX_EXTENSIONS is OFF
# Should be fixed in 3.19.
# https://gitlab.kitware.com/cmake/cmake/-/merge_requests/5025
- patch('pgi-cxx-ansi.patch', when='@3.1:3.18.99')
+ patch('pgi-cxx-ansi.patch', when='@3.15:3.18.99')
conflicts('+qt', when='^qt@5.4.0') # qt-5.4.0 has broken CMake modules