From 3b0556669ca6285090a36c12ad0b41953b81c368 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Sat, 26 Feb 2022 14:29:49 +0100 Subject: [PATCH] Update target name to avoid conflicts --- tests/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 2ace20f..e21a808 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -1,13 +1,13 @@ # Configure catch3 include_directories(./catch3/) -add_library(catch3 SHARED ./catch3/catch_amalgamated.cpp) +add_library(uciadapter_catch3 SHARED ./catch3/catch_amalgamated.cpp) # Add tests add_executable(stockfish stockfish.cpp) -target_link_libraries(stockfish uciadapter catch3) +target_link_libraries(stockfish uciadapter uciadapter_catch3) add_test(Stockfish stockfish) add_executable(berserk berserk.cpp) -target_link_libraries(berserk uciadapter catch3) -add_test(Berserk berserk) \ No newline at end of file +target_link_libraries(berserk uciadapter uciadapter_catch3) +add_test(Berserk berserk)