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()