Update cmake/wg.cmake — add displayinfo sources for Windows and Linux
This commit is contained in:
parent
af22df1997
commit
fc29ec5954
1 changed files with 2 additions and 2 deletions
|
|
@ -37,9 +37,9 @@ set(ARTEMIS_WG_SOURCES
|
||||||
)
|
)
|
||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
list(APPEND ARTEMIS_WG_SOURCES src/wg/wgclient_win.cpp)
|
list(APPEND ARTEMIS_WG_SOURCES src/wg/wgclient_win.cpp src/wg/displayinfo_win.cpp)
|
||||||
elseif(UNIX AND NOT APPLE)
|
elseif(UNIX AND NOT APPLE)
|
||||||
list(APPEND ARTEMIS_WG_SOURCES src/wg/wgclient_linux.cpp)
|
list(APPEND ARTEMIS_WG_SOURCES src/wg/wgclient_linux.cpp src/wg/displayinfo_linux.cpp)
|
||||||
elseif(APPLE)
|
elseif(APPLE)
|
||||||
# macOS: future — use utun approach from DragonMoonlight if needed
|
# macOS: future — use utun approach from DragonMoonlight if needed
|
||||||
message(WARNING "Artemis WireGuard client not yet implemented for macOS")
|
message(WARNING "Artemis WireGuard client not yet implemented for macOS")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue