From e341f1c38e8c2cc607608ea337905319dd03c738 Mon Sep 17 00:00:00 2001 From: raburton Date: Fri, 4 Jan 2008 22:24:54 +0000 Subject: [PATCH] cmake: make build fail if zlib missing --- kicad/minizip/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kicad/minizip/CMakeLists.txt b/kicad/minizip/CMakeLists.txt index d7225d4a58..b78a250c90 100644 --- a/kicad/minizip/CMakeLists.txt +++ b/kicad/minizip/CMakeLists.txt @@ -13,5 +13,6 @@ IF(ZLIB_FOUND) INSTALL(TARGETS minizip RUNTIME DESTINATION bin) ELSE(ZLIB_FOUND) - MESSAGE(STATUS "Check for installed ZLIB -- not found") + MESSAGE(STATUS "Check for installed zlib -- not found") + MESSAGE(FATAL_ERROR "zlib was not found - it is required to build KiCad") ENDIF(ZLIB_FOUND)