From 82a439f89322457ac88828666ffdafc9818ac164 Mon Sep 17 00:00:00 2001 From: Nick Bolton Date: Fri, 20 Jul 2012 15:10:36 +0000 Subject: [PATCH] patch: build CGameDevice module on all platforms since it's cross platform code anyway (thanks to Jim Hague) --- src/lib/synergy/CMakeLists.txt | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/lib/synergy/CMakeLists.txt b/src/lib/synergy/CMakeLists.txt index 69b0dae9..76c5e600 100644 --- a/src/lib/synergy/CMakeLists.txt +++ b/src/lib/synergy/CMakeLists.txt @@ -74,24 +74,24 @@ set(src ISecondaryScreen.cpp CDaemonApp.cpp CAppUtil.cpp - CArgsBase.cpp - CEventGameDevice.cpp - CVncClient.cpp -) - -if (WIN32) + CArgsBase.cpp + CEventGameDevice.cpp + CVncClient.cpp + CGameDevice.cpp +) + +if (WIN32) list(APPEND inc CAppUtilWindows.h CGameDevice.h ) - list(APPEND src - ${inc} - CAppUtilWindows.cpp - CGameDevice.cpp - ) -elseif(UNIX) - list(APPEND src + list(APPEND src + ${inc} + CAppUtilWindows.cpp + ) +elseif(UNIX) + list(APPEND src CAppUtilUnix.cpp ) endif()