message: [OpenMP] Fix KMP_DYNAMIC_LIB to be dependent on LIBOMP_ENABLE_SHARED
  The KMP_DYNAMIC_LIB guard was hard set to 1. This patch has the guard depend
  on CMake variable LIBOMP_ENABLE_SHARED.
diff: #cmakedefine01 STUBS_LIBRARY
  #cmakedefine01 LIBOMP_USE_HWLOC
  #define KMP_USE_HWLOC LIBOMP_USE_HWLOC
  +#cmakedefine01 LIBOMP_ENABLE_SHARED
  +#define KMP_DYNAMIC_LIB LIBOMP_ENABLE_SHARED
  #define KMP_ARCH_STR "@LIBOMP_LEGAL_ARCH@"
  #define KMP_LIBRARY_FILE "@LIBOMP_LIB_FILE@"
  #define KMP_VERSION_MAJOR @LIBOMP_VERSION_MAJOR@
  # define BUILD_I8 1
  #endif
  -#define KMP_DYNAMIC_LIB 1
  #define KMP_NESTED_HOT_TEAMS 1
  #define KMP_ADJUST_BLOCKTIME 1
  #define BUILD_PARALLEL_ORDERED 1
  