From e60367f8a5572f173b17cd127e85b20e2a1c59a7 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 22 Oct 2022 23:35:56 +0200 Subject: no need to link test/ --- test/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 2e3415bd..981a99a2 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -6,5 +6,6 @@ file(MAKE_DIRECTORY "${CMAKE_BINARY_DIR}/test") link_libraries(${PROJECT_NAME}) link_libraries(Magnum::WindowlessWglApplication Magnum::Trade) -add_executable(${self} "${sources}" "../main/loader-impl.cpp") +#add_executable(${self} "${sources}" "../main/loader-impl.cpp") +add_library(${self} STATIC "${sources}" "../main/loader-impl.cpp") install(TARGETS ${self} RUNTIME DESTINATION bin) -- cgit v1.2.3