From 75c0b5311392a02a6c4d211b7680bee4b08135d7 Mon Sep 17 00:00:00 2001 From: sithlord48 Date: Wed, 23 Oct 2024 19:59:53 -0400 Subject: [PATCH] build(lib/mt): Explicit Sources --- src/lib/mt/CMakeLists.txt | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/src/lib/mt/CMakeLists.txt b/src/lib/mt/CMakeLists.txt index e40a45d7b..220d9f6c3 100644 --- a/src/lib/mt/CMakeLists.txt +++ b/src/lib/mt/CMakeLists.txt @@ -1,4 +1,5 @@ # Deskflow -- mouse and keyboard sharing utility +# Copyright (C) 2024 Chris Rizzitello # Copyright (C) 2012-2024 Symless Ltd. # Copyright (C) 2009-2012 Nick Bolton # @@ -14,11 +15,16 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -file(GLOB headers "*.h") -file(GLOB sources "*.cpp") - -if(ADD_HEADERS_TO_SOURCES) - list(APPEND sources ${headers}) -endif() - -add_library(mt STATIC ${sources}) +add_library(mt STATIC + CondVar.cpp + CondVar.h + Lock.cpp + Lock.h + Mutex.cpp + Mutex.h + Thread.cpp + Thread.h + XMT.cpp + XMT.h + XThread.h +)