Add macOS required libraries in kiplatform

Supersedes 36b0aa60
This commit is contained in:
Jon Evans 2023-10-20 11:24:11 -04:00
parent 5dd3631df2
commit dda14e68a2
1 changed files with 10 additions and 0 deletions

View File

@ -105,3 +105,13 @@ target_link_libraries( kiplatform
${wxWidgets_LIBRARIES}
${PLATFORM_LIBS}
)
if( APPLE )
find_library(COREFOUNDATION_LIBRARY CoreFoundation REQUIRED)
find_library(SECURITY_LIBRARY Security REQUIRED)
target_link_libraries( kiplatform
${COREFOUNDATION_LIBRARY}
${SECURITY_LIBRARY}
)
endif()