CMakeLists.txt: compress spiOverJtag for Darwin too

This commit is contained in:
Gwenhael Goavec-Merou 2024-02-23 21:41:58 +01:00
parent 0182d592be
commit ee2337ce0a
1 changed files with 1 additions and 1 deletions

View File

@ -328,7 +328,7 @@ file(GLOB GZ_FILES spiOverJtag/spiOverJtag_*.*.gz)
list(INSERT CMAKE_MODULE_PATH 0 ${PROJECT_SOURCE_DIR}/cmake/Modules)
include(FindGZIP)
if (${CMAKE_SYSTEM_NAME} MATCHES "Linux" AND GZIP_PRG)
if (NOT ${CMAKE_SYSTEM_NAME} MATCHES "Windows" AND GZIP_PRG)
set(SPIOVERJTAG_DIR "${CMAKE_CURRENT_SOURCE_DIR}/spiOverJtag")
file(GLOB BITS_FILES RELATIVE ${SPIOVERJTAG_DIR} spiOverJtag/spiOverJtag_*.bit)
file(GLOB RBF_FILES RELATIVE ${SPIOVERJTAG_DIR} spiOverJtag/spiOverJtag_*.rbf)