From 337d236f548f8245141c2a98c5cf4fd095015450 Mon Sep 17 00:00:00 2001 From: sithlord48 Date: Wed, 23 Oct 2024 21:20:23 -0400 Subject: [PATCH] build(cmd/deskflowd): Explicit Sources --- src/cmd/deskflowd/CMakeLists.txt | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/cmd/deskflowd/CMakeLists.txt b/src/cmd/deskflowd/CMakeLists.txt index ebadc9b42..19dcbb122 100644 --- a/src/cmd/deskflowd/CMakeLists.txt +++ b/src/cmd/deskflowd/CMakeLists.txt @@ -1,4 +1,5 @@ # Deskflow -- mouse and keyboard sharing utility +# Copyright (C) 2024 Chris Rizzitello # Copyright (C) 2012-2024 Symless Ltd. # Copyright (C) 2009-2012 Nick Bolton # @@ -15,14 +16,12 @@ # along with this program. If not, see . set(target ${DAEMON_BINARY_NAME}) - -file(GLOB headers "*.h") -file(GLOB sources "*.cpp") - # Daemon is only needed on Windows for elevating processes to deal with UAC. if(WIN32) - add_executable(${target} WIN32 ${sources} - ${PROJECT_BINARY_DIR}/src/version.rc) + add_executable(${target} WIN32 + deskflowd.cpp + "${PROJECT_BINARY_DIR}/src/version.rc" + ) target_link_libraries( ${target}