fix windows compile

This commit is contained in:
孙羽
2026-05-27 21:34:09 +08:00
parent 6b94ceea14
commit 116a4b8368
8 changed files with 48 additions and 44 deletions
+1 -3
View File
@@ -248,9 +248,7 @@ else()
endif()
endif()
if (WIN32)
list(APPEND OLIVE_DEFINITIONS "-DUNICODE -D_UNICODE")
elseif (APPLE)
if (APPLE)
list(APPEND OLIVE_LIBRARIES "-framework IOKit")
elseif(UNIX)
list(APPEND OLIVE_LIBRARIES Qt${QT_VERSION_MAJOR}::DBus)