From b42fb1cce17330f41c7cf0b626b5dbe6a1b0ac1f Mon Sep 17 00:00:00 2001 From: louib Date: Sat, 19 Nov 2022 13:28:54 -0500 Subject: [PATCH] fix: link to corefoundation from thirdparty dir fix provided by yan12125 --- src/thirdparty/ykcore/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/thirdparty/ykcore/CMakeLists.txt b/src/thirdparty/ykcore/CMakeLists.txt index 103349f22..ecf3ab2b2 100644 --- a/src/thirdparty/ykcore/CMakeLists.txt +++ b/src/thirdparty/ykcore/CMakeLists.txt @@ -40,5 +40,5 @@ elseif(UNIX AND NOT APPLE) target_compile_definitions(ykcore PRIVATE _GNU_SOURCE) elseif(APPLE) target_sources(ykcore PRIVATE ykcore_osx.c) - target_link_libraries(ykcore PUBLIC "-framework IOKit") + target_link_libraries(ykcore PUBLIC "-framework IOKit -framework Foundation") endif()