diff options
Diffstat (limited to 'openmp/runtime/CMakeLists.txt')
| -rw-r--r-- | openmp/runtime/CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/openmp/runtime/CMakeLists.txt b/openmp/runtime/CMakeLists.txt index d605c378271..0b0648a99d8 100644 --- a/openmp/runtime/CMakeLists.txt +++ b/openmp/runtime/CMakeLists.txt @@ -328,7 +328,10 @@ set(LIBOMP_OMPT_BLAME TRUE CACHE BOOL set(LIBOMP_OMPT_TRACE TRUE CACHE BOOL "OMPT-trace?") if(LIBOMP_OMPT_SUPPORT AND (NOT LIBOMP_HAVE_OMPT_SUPPORT)) - libomp_error_say("OpenMP Tools Interface requested but not available") + libomp_error_say("OpenMP Tools Interface requested but not available in this implementation") +endif() +if(LIBOMP_OMPT_SUPPORT AND (${LIBOMP_OMP_VERSION} LESS 50)) + libomp_error_say("OpenMP Tools Interface only available with OpenMP 5.0, LIBOMP_OMP_VERSION is ${LIBOMP_OMP_VERSION}") endif() # TSAN-support |

