Explorar o código

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

Merge-request: !2873
Brad King %!s(int64=7) %!d(string=hai) anos
pai
achega
a57fcfa3e0
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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()
 endif()
 endif()
 
 
-# On Apple we need CoreFoundation
+# On Apple we need CoreFoundation and CoreServices
 if(APPLE)
 if(APPLE)
   target_link_libraries(CMakeLib "-framework CoreFoundation")
   target_link_libraries(CMakeLib "-framework CoreFoundation")
+  target_link_libraries(CMakeLib "-framework CoreServices")
 endif()
 endif()
 
 
 if(WIN32 AND NOT UNIX)
 if(WIN32 AND NOT UNIX)