diff --git a/core/metacling/src/CMakeLists.txt b/core/metacling/src/CMakeLists.txt index eea33c6471c49..b3ce0fa7440ee 100644 --- a/core/metacling/src/CMakeLists.txt +++ b/core/metacling/src/CMakeLists.txt @@ -193,7 +193,7 @@ if(MSVC) ??1LifetimeHandler@internal@runtime@cling@@QAE@XZ ?_Facet_Register@std@@YAXPAV_Facet_base@1@@Z ) - if(MSVC_VERSION GREATER_EQUAL 1938) + if(MSVC_VERSION GREATER_EQUAL 1938 AND MSVC_VERSION LESS 1940) set(cling_exports ${cling_exports} ??$__std_find_trivial@$$CBDD@@YAPBDPBD0D@Z ??$__std_find_trivial@DD@@YAPADPAD0D@Z