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()