Index: runtime/CMakeLists.txt =================================================================== --- runtime/CMakeLists.txt +++ runtime/CMakeLists.txt @@ -313,6 +313,11 @@ set(LIBOMP_USE_ITT_NOTIFY FALSE) endif() +if(LIBOMP_USE_VERSION_SYMBOLS AND (NOT LIBOMP_ENABLE_SHARED) ) + message(STATUS "Version symbols not supported for static libraries - forcing Version symbols functionality off") + set (LIBOMP_USE_VERSION_SYMBOLS FALSE) +endif() + # OMPT-support set(LIBOMP_OMPT_DEBUG FALSE CACHE BOOL "Trace OMPT initialization?")