build: Support cmake -DPYTHON=python3 (#4667)
This will help debian packaging of iotjs JerryScript-DCO-1.0-Signed-off-by: Philippe Coval [email protected]
This commit is contained in:
1 parent
5180680030
commit
a67f198134
4 files changed
+7
-4
No files matched your search
@@ -488,7 +488,7 @@ if(ENABLE_AMALGAM)
|
||||
set(AMALGAM_CONFIG_H "${CMAKE_BINARY_DIR}/amalgam/jerryscript-config.h")
|
||||
|
||||
add_custom_command(OUTPUT ${AMALGAM_CORE_C} ${AMALGAM_CORE_H}
|
||||
COMMAND python ${CMAKE_SOURCE_DIR}/tools/amalgam.py
|
||||
COMMAND ${PYTHON} ${CMAKE_SOURCE_DIR}/tools/amalgam.py
|
||||
--jerry-core
|
||||
--output-dir ${CMAKE_BINARY_DIR}/amalgam
|
||||
DEPENDS ${SOURCE_CORE_FILES}
|
||||
|
||||
Reference in new issue
Block a user