1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-17 18:45:10 +00:00

Fix CMake code for unit test discovery.

This commit is contained in:
Brenden Matthews 2018-12-28 13:26:29 -05:00
parent 0009f2473a
commit 9c98ed4119

View File

@ -16,6 +16,7 @@ endif()
add_executable(test-conky test-common.cc ${test_srcs}) add_executable(test-conky test-common.cc ${test_srcs})
target_link_libraries(test-conky conky_core) target_link_libraries(test-conky conky_core)
catch_discover_tests(test-conky)
if(USING_CLANG_7) if(USING_CLANG_7)
set(COVERAGE_LCOV_EXCLUDES set(COVERAGE_LCOV_EXCLUDES
@ -43,5 +44,4 @@ if(USING_CLANG_7)
test-conky test-conky
DEPENDENCIES DEPENDENCIES
test-conky) test-conky)
catch_discover_tests(test-conky)
endif() endif()