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}