cmake: make build fail if zlib missing

This commit is contained in:
raburton 2008-01-04 22:24:54 +00:00
parent f63492f530
commit e341f1c38e
1 changed files with 2 additions and 1 deletions

View File

@ -13,5 +13,6 @@ IF(ZLIB_FOUND)
INSTALL(TARGETS minizip RUNTIME DESTINATION bin) INSTALL(TARGETS minizip RUNTIME DESTINATION bin)
ELSE(ZLIB_FOUND) 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) ENDIF(ZLIB_FOUND)