mirror of
https://github.com/ashaduri/gsmartcontrol.git
synced 2026-09-28 14:45:51 +00:00
Revert "Fixed test link errors on Debian 10."
This reverts commit 5009fbfbe4.
This commit is contained in:
@@ -17,9 +17,8 @@ target_sources(applib_tests PRIVATE
|
||||
test_app_pcrecpp.cpp
|
||||
test_smartctl_version_parser.cpp
|
||||
)
|
||||
target_link_libraries(applib_tests
|
||||
PUBLIC # must be public as the target is an object library
|
||||
applib
|
||||
Catch2
|
||||
target_link_libraries(applib_tests PRIVATE
|
||||
applib
|
||||
Catch2
|
||||
)
|
||||
|
||||
|
||||
@@ -18,9 +18,8 @@ target_sources(hz_tests PRIVATE
|
||||
test_string_algo.cpp
|
||||
test_string_num.cpp
|
||||
)
|
||||
target_link_libraries(hz_tests
|
||||
PUBLIC # must be public as the target is an object library
|
||||
hz
|
||||
Catch2
|
||||
target_link_libraries(hz_tests PRIVATE
|
||||
hz
|
||||
Catch2
|
||||
)
|
||||
|
||||
|
||||
@@ -20,10 +20,9 @@ target_sources(test_all PRIVATE
|
||||
)
|
||||
target_link_libraries(test_all PRIVATE
|
||||
libdebug
|
||||
Catch2
|
||||
# Object libraries containing tests
|
||||
applib_tests
|
||||
hz_tests
|
||||
Catch2
|
||||
)
|
||||
|
||||
if (NOT CMAKE_CROSSCOMPILING)
|
||||
|
||||
Reference in New Issue
Block a user