CMakeLists: when gzip is available spiOverJtag .bit and .rbf are compressed before installing

This commit is contained in:
Gwenhael Goavec-Merou
2023-02-02 07:38:35 +01:00
parent fab4d02128
commit cf61e715cb
5 changed files with 53 additions and 6 deletions
+13
View File
@@ -0,0 +1,13 @@
FIND_PROGRAM(GZIP_PRG
NAMES gzip
PATHS /bin
/usr/bin
/usr/local/bin
${CYGWIN_INSTALL_PATH}/bin
${MSYS_INSTALL_PATH}/usr/bin
)
IF(NOT GZIP_PRG)
message("Unable to find 'gzip' program")
ENDIF(NOT GZIP_PRG)