Add linkage with Cocoa framework on MacOS
Signed-off-by: Max Risuhin <risuhin.max@gmail.com>
This commit is contained in:
parent
cd83c7da6d
commit
8bb08eecc5
|
@ -45,9 +45,13 @@ ExternalProject_Add(SnoreNotify_ep
|
|||
|
||||
set(REACT_NATIVE_DESKTOP_EXTERNAL_PROJECT_DEPS ${REACT_NATIVE_DESKTOP_EXTERNAL_PROJECT_DEPS} SnoreNotify_ep PARENT_SCOPE)
|
||||
|
||||
if (APPLE)
|
||||
set(SNORENOTIFY_DEPS_LIBS "-framework Cocoa")
|
||||
endif()
|
||||
|
||||
set(REACT_NATIVE_DESKTOP_EXTERNAL_MODULES_LIBS ${REACT_NATIVE_DESKTOP_EXTERNAL_MODULES_LIBS}
|
||||
${SnoreNotify_LIBS} ${SnoreNotify_STATIC_LIB} ${SnoreNotifyBackend_STATIC_LIB}
|
||||
${SnoreNotifyBackendSettings_STATIC_LIB} ${SnoreNotifySettings_STATIC_LIB} PARENT_SCOPE)
|
||||
${SnoreNotifyBackendSettings_STATIC_LIB} ${SnoreNotifySettings_STATIC_LIB} ${SNORENOTIFY_DEPS_LIBS} PARENT_SCOPE)
|
||||
|
||||
set(REACT_NATIVE_DESKTOP_EXTERNAL_MODULES_INCLUDE_DIRS ${REACT_NATIVE_DESKTOP_EXTERNAL_MODULES_INCLUDE_DIRS}
|
||||
${SnoreNotify_INCLUDE_DIR} PARENT_SCOPE)
|
||||
|
|
Loading…
Reference in New Issue