Commit be4372de authored by Ghislain MARY's avatar Ghislain MARY

Fix CMake error when disabling tests.

parent 771877cc
......@@ -93,7 +93,7 @@ if(${CUNIT_FOUND})
check_library_exists(${CUNIT_LIBRARIES} "CU_curses_run_tests" "" HAVE_CU_CURSES)
else(${CUNIT_FOUND})
message(WARNING "Could not find cunit framework, tests will not be compiled.")
set(ENABLE_TESTS OFF CACHE "Enable compilation of tests" FORCE)
set(ENABLE_TESTS OFF CACHE BOOL "Enable compilation of tests" FORCE)
endif(${CUNIT_FOUND})
find_package(Tunnel)
set(HAVE_TUNNEL ${TUNNEL_FOUND})
......
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