Merge pull request #6738 from akallabeth/mac_link_fix

Added missing CoreFoundation library to dependencies
This commit is contained in:
Martin Fleisz 2021-01-21 11:06:36 +01:00 committed by GitHub
commit 53a2563711
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,6 +52,11 @@ if(APPLE AND (NOT IOS))
freerdp_library_add(${CARBON})
endif()
if (APPLE)
FIND_LIBRARY(ç CoreFoundation REQUIRED)
freerdp_library_add(${CORE_FOUNDATION})
endif()
if(WITH_X11)
freerdp_definition_add(-DWITH_X11)
freerdp_include_directory_add(${X11_INCLUDE_DIRS})