--- Source/CMakeLists.txt.orig
+++ Source/CMakeLists.txt
@@ -793,9 +793,9 @@
   endif()
 endif()
 
-# On Apple we need CoreFoundation
+# On Apple we need CoreFoundation and CoreServices
 if(APPLE)
-  target_link_libraries(CMakeLib "-framework CoreFoundation")
+  target_link_libraries(CMakeLib "-framework CoreFoundation -framework CoreServices")
 endif()
 
 if(WIN32 AND NOT UNIX)