kraken-assessment/tests/unit/CMakeLists.txt
Bruno BELANYI 697f941cb2 tests: unit: add 'csv' tests
Simple tests for a simple library.
2022-03-12 11:07:20 +01:00

17 lines
287 B
CMake

find_package(GTest)
if (${GTest_FOUND})
include(GoogleTest)
add_executable(csv_test csv.cc)
target_link_libraries(csv_test PRIVATE common_options)
target_link_libraries(csv_test PRIVATE
csv
GTest::gtest
GTest::gtest_main
)
gtest_discover_tests(csv_test)
endif (${GTest_FOUND})