diff --git a/modules/find/tests/CMakeLists.txt b/modules/find/tests/CMakeLists.txt index 5ef4865c2743e266ceb3ebf83804cb8472c8d768..dd868ab2ca0a66d63e491c94accf3b6e0c5eea68 100644 --- a/modules/find/tests/CMakeLists.txt +++ b/modules/find/tests/CMakeLists.txt @@ -45,7 +45,7 @@ foreach(_library ${PACKAGES}) message(WARNING "${_library}_INCLUDE_DIRS not found: ${${_library}_INCLUDE_DIRS}") endif() else() - message(ERROR "${_library} NOT FOUND !!") + message(FATAL_ERROR "${_library} NOT FOUND !!") endif() endforeach()