Skip to content

Commit

Permalink
Fix #5798 take 2
Browse files Browse the repository at this point in the history
  • Loading branch information
ashdnazg committed Oct 12, 2017
1 parent 7236dd3 commit faa6439
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cont/base/CMakeLists.txt
Expand Up @@ -16,9 +16,10 @@ MACRO(CreateBaseContentArchive outputdir filename files)
set(QUIET ">nul")
endif()
set(outputfile "${Spring_BINARY_DIR}/${outputdir}/${filename}")
set(ENV{TZ} UTC)
add_custom_command(
OUTPUT "${outputfile}"
COMMAND ${CMAKE_COMMAND} -E env TZ=UTC ${SEVENZIP_BIN} a -tzip ${outputfile} ${files} ${QUIET}
COMMAND ${SEVENZIP_BIN} a -tzip ${outputfile} ${files} ${QUIET}
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/
COMMENT "Creating ${outputfile}"
DEPENDS ${files}
Expand Down

0 comments on commit faa6439

Please sign in to comment.