maybe fix osx?

This commit is contained in:
lif 2024-03-03 02:03:52 -08:00
parent dd25f5acf0
commit af400b446b
1 changed files with 4 additions and 0 deletions

View File

@ -38,3 +38,7 @@ include_directories(mgba/include)
add_executable(cgbwebcam main.c) add_executable(cgbwebcam main.c)
target_link_libraries(cgbwebcam SDL3-static mgba) target_link_libraries(cgbwebcam SDL3-static mgba)
if(APPLE)
target_link_libraries(cgbwebcam PRIVATE "-framework AVFoundation")
endif()