fix: link to corefoundation from thirdparty dir

fix provided by yan12125
This commit is contained in:
louib 2022-11-19 13:28:54 -05:00
parent a7ffd28e26
commit b42fb1cce1

View File

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