From 75c263183ddfa80446d6804507f46db1441a8c66 Mon Sep 17 00:00:00 2001 From: Sherman The Tank <5414276+sherman-the-tank@users.noreply.github.com> Date: Thu, 6 Sep 2018 08:26:50 +0000 Subject: [PATCH] Added build dependency for concurrent and thread --- common/concurrent/CMakeLists.txt | 2 ++ common/thread/CMakeLists.txt | 2 ++ 2 files changed, 4 insertions(+) diff --git a/common/concurrent/CMakeLists.txt b/common/concurrent/CMakeLists.txt index 3086fdd9cdf..a24f2f64652 100644 --- a/common/concurrent/CMakeLists.txt +++ b/common/concurrent/CMakeLists.txt @@ -3,4 +3,6 @@ add_library( Barrier.cpp Latch.cpp ) +add_dependencies(concurrent_obj base_obj) + add_subdirectory(test) diff --git a/common/thread/CMakeLists.txt b/common/thread/CMakeLists.txt index 78c978a9ebd..69395f4623b 100644 --- a/common/thread/CMakeLists.txt +++ b/common/thread/CMakeLists.txt @@ -4,4 +4,6 @@ add_library( GenericWorker.cpp GenericThreadPool.cpp ) +add_dependencies(thread_obj base_obj) + add_subdirectory(test)