diff --git a/cmake/wg.cmake b/cmake/wg.cmake index 7d29163..ef0e0bf 100644 --- a/cmake/wg.cmake +++ b/cmake/wg.cmake @@ -37,9 +37,9 @@ set(ARTEMIS_WG_SOURCES ) 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) - 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) # macOS: future — use utun approach from DragonMoonlight if needed message(WARNING "Artemis WireGuard client not yet implemented for macOS")