Skip to content

Commit

Permalink
build(cmd/deskflow-legacy): Explicit Sources
Browse files Browse the repository at this point in the history
  • Loading branch information
sithlord48 committed Oct 24, 2024
1 parent ad65512 commit 08d3347
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/cmd/deskflow-legacy/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Deskflow -- mouse and keyboard sharing utility
# Copyright (C) 2024 Chris Rizzitello <[email protected]>
# Copyright (C) 2012-2024 Symless Ltd.
# Copyright (C) 2009-2012 Nick Bolton
#
Expand All @@ -16,14 +17,11 @@

set(target ${LEGACY_BINARY_NAME})

file(GLOB headers "*.h")
file(GLOB sources "*.cpp")

add_executable(${target} "${target}.cpp")
if(WIN32)
list(APPEND sources ${PROJECT_BINARY_DIR}/src/version.rc)
target_sources(${target} PRIVATE "${PROJECT_BINARY_DIR}/src/version.rc")
endif()

add_executable(${target} ${sources})
target_link_libraries(
${target}
app
Expand Down

0 comments on commit 08d3347

Please sign in to comment.