diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index f89cd4a..388f410 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,9 +1,9 @@ find_package(Boost COMPONENTS filesystem unit_test_framework REQUIRED) -add_executable(sellertest test_seller.cpp) -target_link_libraries(sellertest core Boost::boost Boost::filesystem Boost::unit_test_framework) -add_test(Seller ${CMAKE_BINARY_DIR}/bin/sellertest) +add_executable(test_seller test_seller.cpp) +target_link_libraries(test_seller core Boost::unit_test_framework) +add_test(Seller ${CMAKE_BINARY_DIR}/bin/test_seller) -add_executable(databasetest test_database.cpp) -target_link_libraries(databasetest core Boost::boost Boost::filesystem Boost::unit_test_framework) -add_test(Database ${CMAKE_BINARY_DIR}/bin/databasetest) +add_executable(test_database test_database.cpp) +target_link_libraries(test_database core Boost::filesystem Boost::unit_test_framework) +add_test(Database ${CMAKE_BINARY_DIR}/bin/test_database)