forked from deskflow/deskflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(cmd/deskflow-legacy): Explicit Sources
- Loading branch information
1 parent
ad65512
commit 08d3347
Showing
1 changed file
with
3 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
# | ||
|
@@ -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 | ||
|