Specify python3 to zip the plugin

This commit is contained in:
Phillip Stephens 2021-02-26 15:19:16 -08:00
parent ce9b7b6a54
commit 2bdb3d1655
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ list(APPEND PY_SOURCES
bintoc(hecl_blendershell.cpp hecl_blendershell.py HECL_BLENDERSHELL) bintoc(hecl_blendershell.cpp hecl_blendershell.py HECL_BLENDERSHELL)
add_custom_command(OUTPUT hecl.zip DEPENDS ${PY_SOURCES} 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} WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
COMMENT "Generating addon package") COMMENT "Generating addon package")
bintoc(hecl_addon.cpp "${CMAKE_CURRENT_BINARY_DIR}/hecl.zip" HECL_ADDON) bintoc(hecl_addon.cpp "${CMAKE_CURRENT_BINARY_DIR}/hecl.zip" HECL_ADDON)