mirror of
https://github.com/debauchee/barrier.git
synced 2026-07-10 22:08:37 +08:00
used glob instead of manually specifying files. cmake does not recommend this, but we always re-run cmake anyway after adding files since we use vs.
This commit is contained in:
@@ -15,11 +15,11 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
if (WIN32)
|
||||
set(src uSynergyWin32.c)
|
||||
set(sources uSynergyWin32.c)
|
||||
elseif (UNIX)
|
||||
set(src uSynergyUnix.c)
|
||||
set(sources uSynergyUnix.c)
|
||||
endif()
|
||||
|
||||
include_directories(../../micro)
|
||||
add_executable(usynergy ${src})
|
||||
add_executable(usynergy ${sources})
|
||||
target_link_libraries(usynergy micro)
|
||||
|
||||
Reference in New Issue
Block a user