build(cmd/deskflowd): Explicit Sources
This commit is contained in:
parent
04d6895990
commit
337d236f54
1 changed files with 5 additions and 6 deletions
|
|
@ -1,4 +1,5 @@
|
|||
# Deskflow -- mouse and keyboard sharing utility
|
||||
# Copyright (C) 2024 Chris Rizzitello <sithlord48@gmail.com>
|
||||
# Copyright (C) 2012-2024 Symless Ltd.
|
||||
# Copyright (C) 2009-2012 Nick Bolton
|
||||
#
|
||||
|
|
@ -15,14 +16,12 @@
|
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
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}
|
||||
|
|
|
|||
Loading…
Reference in a new issue