summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'openmp/runtime/CMakeLists.txt')
-rw-r--r--openmp/runtime/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/openmp/runtime/CMakeLists.txt b/openmp/runtime/CMakeLists.txt
index 5d1e0f7d01d..447b3cd810a 100644
--- a/openmp/runtime/CMakeLists.txt
+++ b/openmp/runtime/CMakeLists.txt
@@ -302,7 +302,7 @@ endif()
# OMPT-support defaults to ON for OpenMP 5.0+ and if the requirements in
# cmake/config-ix.cmake are fulfilled.
set(OMPT_DEFAULT FALSE)
-if ((${LIBOMP_OMP_VERSION} GREATER 49) AND (LIBOMP_HAVE_OMPT_SUPPORT))
+if ((${LIBOMP_OMP_VERSION} GREATER 49) AND (LIBOMP_HAVE_OMPT_SUPPORT) AND (NOT WIN32))
set(OMPT_DEFAULT TRUE)
endif()
set(LIBOMP_OMPT_SUPPORT ${OMPT_DEFAULT} CACHE BOOL
OpenPOWER on IntegriCloud