cmake: make build fail if zlib missing
This commit is contained in:
parent
f63492f530
commit
e341f1c38e
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue