Commit eeb34232 authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'add-missing-macos-framework'

475e78d9

 macOS: Add missing explicit dependency on CoreServices framework
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !2873
parents bcb1297f 475e78d9
Pipeline #128863 passed with stage
in 0 seconds
...@@ -819,9 +819,10 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR MATCHES "sparc" ...@@ -819,9 +819,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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment