From af400b446ba73c8f1992ffcaa0ad7e744a463730 Mon Sep 17 00:00:00 2001 From: lif <> Date: Sun, 3 Mar 2024 02:03:52 -0800 Subject: [PATCH] maybe fix osx? --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4f03942..2cd52e8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -38,3 +38,7 @@ include_directories(mgba/include) add_executable(cgbwebcam main.c) target_link_libraries(cgbwebcam SDL3-static mgba) + +if(APPLE) + target_link_libraries(cgbwebcam PRIVATE "-framework AVFoundation") +endif()