mirror of https://github.com/AxioDL/metaforce.git
Specify python3 to zip the plugin
This commit is contained in:
parent
ce9b7b6a54
commit
2bdb3d1655
|
@ -19,7 +19,7 @@ list(APPEND PY_SOURCES
|
|||
bintoc(hecl_blendershell.cpp hecl_blendershell.py HECL_BLENDERSHELL)
|
||||
|
||||
add_custom_command(OUTPUT hecl.zip DEPENDS ${PY_SOURCES}
|
||||
COMMAND python ARGS zip_package.py ${CMAKE_CURRENT_BINARY_DIR}/hecl.zip
|
||||
COMMAND python3 ARGS zip_package.py ${CMAKE_CURRENT_BINARY_DIR}/hecl.zip
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
COMMENT "Generating addon package")
|
||||
bintoc(hecl_addon.cpp "${CMAKE_CURRENT_BINARY_DIR}/hecl.zip" HECL_ADDON)
|
||||
|
|
Loading…
Reference in New Issue