From 582d2aff366c6a2a0d0e302a07d1721ce7d20f69 Mon Sep 17 00:00:00 2001 From: Galo Rojo Date: Fri, 26 Jul 2024 19:32:46 -0800 Subject: [PATCH] Restore some missing `target_link_libraries` in test dependencies. --- test/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 038effab..8972a172 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -80,8 +80,8 @@ FetchContent_Declare( GIT_TAG 521cb053d9320636f53226ffc616216cf532f0ef GIT_SUBMODULES "" # This should be temporary until we update the cyclic submodule dependencies in EABase. ) - FetchContent_MakeAvailable(EABase) +target_link_libraries(EASTLTest EABase) FetchContent_Declare( EAAssert @@ -128,6 +128,8 @@ FetchContent_Declare( FetchContent_MakeAvailable(EAThread) target_link_libraries(EASTLTest EAThread) +target_link_libraries(EASTLTest EASTL) + set(THREADS_PREFER_PTHREAD_FLAG ON) find_package(Threads REQUIRED)