diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index db4db7bd6584f45d0b5018493f41071157328132..2f9562cb80e7c438c33cb1952f3320bc1cc3c35f 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -4,8 +4,8 @@ set(test_cases ) find_library(cmocka-static cmocka) -if (NOT cmocka-static) - message(${cmocka-static}) +if (cmocka-static) + message(STATUS "Found pre-installed cmocka: ${cmocka-static}") elseif (${CMAKE_VERSION} VERSION_LESS "3.14.0") message(FATAL_ERROR "Failed to run tests. A pre-installed cmocka could not be found and