mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 08:44:19 -04:00
CMake: fix broken pzip files on Windows
It seems piping isn't working properly for binary data
This commit is contained in:
parent
df4d6fd2dd
commit
8cb213ce8a
@ -13,7 +13,7 @@ function(run_pzip target_name source destination glob)
|
|||||||
|
|
||||||
add_custom_command(OUTPUT "${destination}/${dstfile}"
|
add_custom_command(OUTPUT "${destination}/${dstfile}"
|
||||||
COMMAND ${CMAKE_COMMAND} -E make_directory "${dstdir}"
|
COMMAND ${CMAKE_COMMAND} -E make_directory "${dstdir}"
|
||||||
COMMAND host_pzip -c > "${destination}/${dstfile}" < "${source}/${filename}"
|
COMMAND host_pzip -o "${destination}/${dstfile}" "${source}/${filename}"
|
||||||
DEPENDS host_pzip
|
DEPENDS host_pzip
|
||||||
COMMENT "")
|
COMMENT "")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user