From 4fc39124bc876a9c78a04cb86397a4f0f08878e9 Mon Sep 17 00:00:00 2001 From: crupest Date: Mon, 4 Oct 2021 21:13:30 +0800 Subject: ... --- src/osx/gui/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/osx/gui') diff --git a/src/osx/gui/CMakeLists.txt b/src/osx/gui/CMakeLists.txt index 06ab92db..f3b93bfe 100644 --- a/src/osx/gui/CMakeLists.txt +++ b/src/osx/gui/CMakeLists.txt @@ -14,4 +14,6 @@ target_sources(cru_osx_gui PUBLIC ${CRU_OSX_GUI_INCLUDE_DIR}/Window.hpp ) -target_link_libraries(cru_osx_gui PUBLIC cru_platform_gui cru_osx_graphics_quartz) +find_library(APPKIT AppKit REQUIRED) + +target_link_libraries(cru_osx_gui PUBLIC cru_platform_gui cru_osx_graphics_quartz ${APPKIT}) -- cgit v1.2.3