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(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)