Commit 3c89643b authored by Ghislain MARY's avatar Ghislain MARY

Force ENABLE_TESTS_COMPONENT to OFF when Cunit is not found.

parent 1af41d70
......@@ -107,6 +107,7 @@ if(ENABLE_TESTS_COMPONENT)
set(TESTER_REQUIRES_PRIVATE "cunit")
else()
message(WARNING "Could not find the cunit library!")
set(ENABLE_TESTS_COMPONENT OFF CACHE BOOL "Enable compilation of tests helper library" FORCE)
endif()
endif()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment