diff options
Diffstat (limited to 'openmp/runtime/cmake/config-ix.cmake')
-rw-r--r-- | openmp/runtime/cmake/config-ix.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openmp/runtime/cmake/config-ix.cmake b/openmp/runtime/cmake/config-ix.cmake index 90b9af4..76f471a 100644 --- a/openmp/runtime/cmake/config-ix.cmake +++ b/openmp/runtime/cmake/config-ix.cmake @@ -333,7 +333,8 @@ else() (LIBOMP_ARCH STREQUAL loongarch64) OR (LIBOMP_ARCH STREQUAL s390x)) AND # OS supported? - ((WIN32 AND LIBOMP_HAVE_PSAPI) OR APPLE OR (NOT WIN32 AND LIBOMP_HAVE_WEAK_ATTRIBUTE))) + ((WIN32 AND LIBOMP_HAVE_PSAPI) OR APPLE OR + (NOT (WIN32 OR ${CMAKE_SYSTEM_NAME} MATCHES "AIX") AND LIBOMP_HAVE_WEAK_ATTRIBUTE))) set(LIBOMP_HAVE_OMPT_SUPPORT TRUE) else() set(LIBOMP_HAVE_OMPT_SUPPORT FALSE) |