diff options
author | Brad King <brad.king@kitware.com> | 2019-01-29 12:00:43 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-01-29 12:00:43 (GMT) |
commit | a57fcfa3e0989a74d1e1c6c24132e285cdace2b1 (patch) | |
tree | d066f4b5a8f311c8f5436eca4cd7cec83c32bda1 | |
parent | f4547578aa365164f1ef48c4f546828752cf4835 (diff) | |
parent | 475e78d9071b34690617a85853433a9fc15da057 (diff) | |
download | CMake-a57fcfa3e0989a74d1e1c6c24132e285cdace2b1.zip CMake-a57fcfa3e0989a74d1e1c6c24132e285cdace2b1.tar.gz CMake-a57fcfa3e0989a74d1e1c6c24132e285cdace2b1.tar.bz2 |
Merge branch 'add-missing-macos-framework' into release-3.13
Merge-request: !2873
-rw-r--r-- | Source/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index 311f3f4..8aff8f6 100644 --- a/Source/CMakeLists.txt +++ b/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) |