NVHPC: -isystem fails for NVHPC 21.7
On summit.ornl.gov we are using NVHPC 21.7. We recently upgraded from CMake v3.20 to v3.22 and began encountering build errors of the following form:
error: identifier "__nv_hdl_create_wrapper_t" is undefined.
I bisected the change down to commit 92624714 (!6691 (merged)).
This problem goes away if I use NVHPC 21.9 or newer. If this is a bug is reproducible outside of summit we should add a version check to NVHPC.cmake
Edited by Brad King