Link common plugin sources with Foundation

This commit is contained in:
Jean Pierre Cimalando 2021-04-08 20:32:29 +02:00
parent 8d68f50bac
commit 8b7761e615

View file

@ -35,6 +35,8 @@ add_library(sfizz::plugins-common ALIAS plugins-common)
# Link system dependencies
if(WIN32)
elseif(APPLE)
target_link_libraries(plugins-common PRIVATE
"${APPLE_FOUNDATION_LIBRARY}")
else()
find_package(PkgConfig REQUIRED)
pkg_check_modules(GLIB REQUIRED glib-2.0)