This got lost as part of the CMake conversion but we still need it for these platforms.
Fixes https://github.com/dotnet/runtime/issues/44242
set(DISABLE_GAC 1)
set(DISABLE_PERFCOUNTERS 1)
set(DISABLE_ATTACH 1)
- set(DISABLE_DLLMAP 1)
set(DISABLE_CONFIG 1)
set(DISABLE_CFGDIR_CONFIG 1)
set(DISABLE_VERIFIER 1)
### End of debug build checks
+######################################
+# OS SPECIFIC CHECKS
+######################################
+if(ENABLE_NETCORE)
+ if(TARGET_IOS OR TARGET_ANDROID)
+ # FIXME: the mobile products use mono_dllmap_insert so allow this
+ unset(DISABLE_DLLMAP)
+ else()
+ set(DISABLE_DLLMAP 1)
+ endif()
+endif()
+### End of OS specific checks
+
add_subdirectory(mono)
configure_file(cmake/config.h.in config.h)