[fix] restore missing includes for Linux and Windows builds

This commit is contained in:
dijunkun
2026-09-25 02:20:02 +08:00
parent e62d473b64
commit f73a57baaa
4 changed files with 5 additions and 1 deletions
+2
View File
@@ -95,6 +95,7 @@ function setup_targets()
add_files("apps/desktop/src/path_manager/*.cpp")
if is_os("windows") then
add_files("apps/desktop/src/platform/windows/path_backend.cpp")
add_syslinks("Shell32", "Ole32", {public = true})
elseif is_os("macosx") then
add_files("apps/desktop/src/platform/macos/path_backend.cpp")
elseif is_os("linux") then
@@ -113,6 +114,7 @@ function setup_targets()
"apps/desktop/src/path_manager/path_manager.cpp")
if is_os("windows") then
add_files("apps/desktop/src/platform/windows/path_backend.cpp")
add_syslinks("Shell32", "Ole32")
elseif is_os("macosx") then
add_files("apps/desktop/src/platform/macos/path_backend.cpp")
elseif is_os("linux") then