summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-01-29 07:00:43 -0500
committerBrad King <brad.king@kitware.com>2019-01-29 07:00:43 -0500
commita57fcfa3e0989a74d1e1c6c24132e285cdace2b1 (patch)
treed066f4b5a8f311c8f5436eca4cd7cec83c32bda1
parentf4547578aa365164f1ef48c4f546828752cf4835 (diff)
parent475e78d9071b34690617a85853433a9fc15da057 (diff)
downloadcmake-a57fcfa3e0989a74d1e1c6c24132e285cdace2b1.tar.gz
Merge branch 'add-missing-macos-framework' into release-3.13
Merge-request: !2873
-rw-r--r--Source/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt
index 311f3f4e56..8aff8f6b2f 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)