Browse Source

Merge branch 'add-missing-macos-framework' into release-3.13

Merge-request: !2873
Brad King 6 years ago
parent
commit
a57fcfa3e0
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Source/CMakeLists.txt

+ 2 - 1
Source/CMakeLists.txt

@@ -791,9 +791,10 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR MATCHES "sparc"
   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 CoreServices")
 endif()
 
 if(WIN32 AND NOT UNIX)