Index: runtime/CMakeLists.txt =================================================================== --- runtime/CMakeLists.txt +++ runtime/CMakeLists.txt @@ -307,6 +307,10 @@ libomp_error_say("Static libraries requested but not available on Windows") endif() +if(NOT LIBOMP_ENABLE_SHARED) + set(LIBOMP_USE_ITT_NOTIFY FALSE) +endif() + # OMPT-support set(LIBOMP_OMPT_DEBUG FALSE CACHE BOOL "Trace OMPT initialization?")