correctly handle unicode args on win32

Fixes #1810
This commit is contained in:
itsmattkc
2021-12-29 00:12:23 -08:00
parent e902507e47
commit 82df30586d
5 changed files with 26 additions and 8 deletions
+3 -1
View File
@@ -162,7 +162,9 @@ else()
endif()
endif()
if (APPLE)
if (WIN32)
list(APPEND OLIVE_DEFINITIONS "-DUNICODE -D_UNICODE")
elseif (APPLE)
list(APPEND OLIVE_LIBRARIES "-framework IOKit")
elseif(UNIX)
list(APPEND OLIVE_LIBRARIES Qt5::DBus)