From 97bed80088178858aa6ff5cb14f44cb275454eaa Mon Sep 17 00:00:00 2001 From: dijunkun Date: Fri, 1 Dec 2023 10:12:06 +0800 Subject: [PATCH] Fix link flag for MacOS --- xmake.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/xmake.lua b/xmake.lua index 3308c99..06fe030 100644 --- a/xmake.lua +++ b/xmake.lua @@ -34,6 +34,7 @@ elseif is_os("linux") then elseif is_os("macosx") then add_requires("ffmpeg 5.1.2", {system = false}) add_packages("ffmpeg") + add_links("SDL2") end add_packages("spdlog", "sdl2", "imgui")