From f24e0259d30dfb4533ad9abf98c00f7e0fa01035 Mon Sep 17 00:00:00 2001 From: Michel Promonet Date: Sun, 29 Oct 2023 22:29:09 +0100 Subject: [PATCH] add appkit for macos --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index eab84a16..885e41be 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -200,9 +200,11 @@ elseif (APPLE) find_library(CORE_AUDIO CoreAudio) find_library(AUDIO_TOOLBOX AudioToolBox) find_library(IO_SURFACE IOSurface) + find_library(APP_KIT AppKit) + target_link_libraries (${CMAKE_PROJECT_NAME} ${CORE_FOUNDATION} ${APPLICATION_SERVICES} ${CORE_SERVICES} - ${CORE_AUDIO} ${AUDIO_TOOLBOX} ${IO_SURFACE}) + ${CORE_AUDIO} ${AUDIO_TOOLBOX} ${IO_SURFACE} ${APP_KIT}) else() # libv4l2cpp add_definitions(-DHAVE_V4L2)