Do not use rc file on MacOS

This commit is contained in:
dijunkun
2024-07-18 16:06:35 +08:00
parent 3111b3a641
commit ff6f295fac
3 changed files with 6 additions and 4 deletions

View File

@@ -128,12 +128,14 @@ target("single_window")
target("remote_desk")
set_kind("binary")
add_deps("rd_log", "common", "single_window")
if is_os("macosx") then
if is_os("windows") then
add_files("icon/app_icon.ico")
elseif is_os("macosx") then
add_packages("ffmpeg")
elseif is_os("linux") then
add_packages("ffmpeg")
end
add_files("src/gui/main.cpp", "icon/app.rc")
add_files("src/gui/main.cpp")
-- target("screen_capturer")
-- set_kind("binary")