mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-26 04:17:33 +00:00
Fix CMake code for unit test discovery.
This commit is contained in:
parent
0009f2473a
commit
9c98ed4119
@ -16,6 +16,7 @@ endif()
|
||||
|
||||
add_executable(test-conky test-common.cc ${test_srcs})
|
||||
target_link_libraries(test-conky conky_core)
|
||||
catch_discover_tests(test-conky)
|
||||
|
||||
if(USING_CLANG_7)
|
||||
set(COVERAGE_LCOV_EXCLUDES
|
||||
@ -43,5 +44,4 @@ if(USING_CLANG_7)
|
||||
test-conky
|
||||
DEPENDENCIES
|
||||
test-conky)
|
||||
catch_discover_tests(test-conky)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user