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

Merge-request: !2873
This commit is contained in:
Brad King
2019-01-29 07:00:43 -05:00
+2 -1
View File
@@ -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)