CMake fix: narrow versions that the PGI patch is applied to (#19495)

Co-authored-by: Scott McMillan <smcmillan@nvidia.com>
This commit is contained in:
Scott McMillan 2020-10-23 11:00:16 -05:00 committed by GitHub
parent 1d56ad0cdb
commit ccc331af26
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -168,7 +168,7 @@ class Cmake(Package):
# Remove -A from the C++ flags we use when CXX_EXTENSIONS is OFF # Remove -A from the C++ flags we use when CXX_EXTENSIONS is OFF
# Should be fixed in 3.19. # Should be fixed in 3.19.
# https://gitlab.kitware.com/cmake/cmake/-/merge_requests/5025 # 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 conflicts('+qt', when='^qt@5.4.0') # qt-5.4.0 has broken CMake modules