mirror of
https://github.com/ashaduri/gsmartcontrol.git
synced 2026-09-25 13:25:37 +00:00
Fix cross-compiling (test discovery doesn't work when cross-compiling).
This commit is contained in:
@@ -21,4 +21,6 @@ target_link_libraries(test_all PRIVATE
|
||||
Catch2
|
||||
)
|
||||
|
||||
catch_discover_tests(test_all)
|
||||
if (NOT CMAKE_CROSSCOMPILING)
|
||||
catch_discover_tests(test_all)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user