CMakeLists.txt: compress spiOverJtag for Darwin too
This commit is contained in:
parent
0182d592be
commit
ee2337ce0a
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue