diff --git a/cmake/DD4hep.cmake b/cmake/DD4hep.cmake
index cf817b61e01a53d6600b128f289afeb6ebfafffb..6efecca228a3176e438b8c008579dd885b99d326 100644
--- a/cmake/DD4hep.cmake
+++ b/cmake/DD4hep.cmake
@@ -88,7 +88,7 @@ endfunction()
 function(dd4hep_generate_rootmap_apple library)
 
   # for now do the same for apple that is done for the rest
-  dd4hep_generate_rootmap( ${library} )
+  dd4hep_generate_rootmap_notapple( ${library} )
 
 endfunction()