Add the Cocoa library to the MacOS link (add others later..)
This commit is contained in:
parent
86c4ed00ae
commit
7eadbbd753
1 changed files with 3 additions and 0 deletions
|
|
@ -189,6 +189,9 @@ function(plugin_add_vstgui NAME)
|
||||||
"${WINDOWSCODECS_LIBRARY}"
|
"${WINDOWSCODECS_LIBRARY}"
|
||||||
"${SHLWAPI_LIBRARY}")
|
"${SHLWAPI_LIBRARY}")
|
||||||
elseif(APPLE)
|
elseif(APPLE)
|
||||||
|
find_library(COCOA_LIBRARY "Cocoa")
|
||||||
|
target_link_libraries("${NAME}" PRIVATE
|
||||||
|
"${COCOA_LIBRARY}")
|
||||||
#
|
#
|
||||||
else()
|
else()
|
||||||
find_package(X11 REQUIRED)
|
find_package(X11 REQUIRED)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue