From 39f25d9cc11237ba0c6ec4795369918a8787059b Mon Sep 17 00:00:00 2001 From: Bram Veenboer <bram.veenboer@gmail.com> Date: Fri, 6 Oct 2023 16:39:05 +0200 Subject: [PATCH] Don't build Record and UnitTest as shared libraries --- test/Common/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Common/CMakeLists.txt b/test/Common/CMakeLists.txt index 0e6e222..54ebec0 100644 --- a/test/Common/CMakeLists.txt +++ b/test/Common/CMakeLists.txt @@ -1,5 +1,5 @@ foreach(component Record UnitTest) - add_library(${component}) + add_library(${component} OBJECT) target_sources(${component} PRIVATE ${component}.cc) target_include_directories(${component} PRIVATE ${CMAKE_SOURCE_DIR}) target_link_libraries(${component} PUBLIC cudawrappers::cu) -- GitLab