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
|
# Deskflow -- mouse and keyboard sharing utility
|
||||||
|
# Copyright (C) 2024 Chris Rizzitello <sithlord48@gmail.com>
|
||||||
# Copyright (C) 2012-2024 Symless Ltd.
|
# Copyright (C) 2012-2024 Symless Ltd.
|
||||||
# Copyright (C) 2009-2012 Nick Bolton
|
# Copyright (C) 2009-2012 Nick Bolton
|
||||||
#
|
#
|
||||||
|
|
@ -15,14 +16,12 @@
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
set(target ${DAEMON_BINARY_NAME})
|
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.
|
# Daemon is only needed on Windows for elevating processes to deal with UAC.
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
add_executable(${target} WIN32 ${sources}
|
add_executable(${target} WIN32
|
||||||
${PROJECT_BINARY_DIR}/src/version.rc)
|
deskflowd.cpp
|
||||||
|
"${PROJECT_BINARY_DIR}/src/version.rc"
|
||||||
|
)
|
||||||
|
|
||||||
target_link_libraries(
|
target_link_libraries(
|
||||||
${target}
|
${target}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue