pacman/lcd/test/CMakeLists.txt

10 lines
250 B
CMake

enable_testing()
find_package(GTest REQUIRED)
include(GoogleTest)
add_executable(lcd_tests tests.cpp)
target_link_libraries(lcd_tests GTest::GTest liblcd)
gtest_discover_tests(lcd_tests TEST_PREFIX lcd:)
add_test(NAME monolithic COMMAND lcd_tests)