Update target name to avoid conflicts

This commit is contained in:
Loic Guegan 2022-02-26 14:29:49 +01:00
parent 536bfd184d
commit 3b0556669c

View file

@ -1,13 +1,13 @@
# Configure catch3 # Configure catch3
include_directories(./catch3/) include_directories(./catch3/)
add_library(catch3 SHARED ./catch3/catch_amalgamated.cpp) add_library(uciadapter_catch3 SHARED ./catch3/catch_amalgamated.cpp)
# Add tests # Add tests
add_executable(stockfish stockfish.cpp) add_executable(stockfish stockfish.cpp)
target_link_libraries(stockfish uciadapter catch3) target_link_libraries(stockfish uciadapter uciadapter_catch3)
add_test(Stockfish stockfish) add_test(Stockfish stockfish)
add_executable(berserk berserk.cpp) add_executable(berserk berserk.cpp)
target_link_libraries(berserk uciadapter catch3) target_link_libraries(berserk uciadapter uciadapter_catch3)
add_test(Berserk berserk) add_test(Berserk berserk)