mirror of
https://github.com/termux/termux-packages.git
synced 2025-01-06 02:26:34 +00:00
8535a4a455
Fixes #21679
16 lines
910 B
Diff
16 lines
910 B
Diff
+++ ./CMakeLists.txt
|
|
@@ -218,10 +218,10 @@
|
|
add_custom_command(TARGET blade POST_BUILD
|
|
COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:blade> ${EXE_FILE}
|
|
COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:libblade> ${LIBRARY_FILE}
|
|
- COMMAND ${EXE_FILE} "${PROJECT_SOURCE_DIR}/scripts/make_blade.b" "${PROJECT_SOURCE_DIR}"
|
|
+ COMMAND blade "${PROJECT_SOURCE_DIR}/scripts/make_blade.b" "${PROJECT_SOURCE_DIR}"
|
|
# The first one is useful for development purposes but doesn't in any way harm release.
|
|
- COMMAND ${EXE_FILE} "${PROJECT_SOURCE_DIR}/scripts/ast.b" "${PROJECT_SOURCE_DIR}/libs/ast"
|
|
- COMMAND ${EXE_FILE} "${PROJECT_SOURCE_DIR}/scripts/ast.b" "${OUTPUT_DIR}/libs/ast"
|
|
+ COMMAND blade "${PROJECT_SOURCE_DIR}/scripts/ast.b" "${PROJECT_SOURCE_DIR}/libs/ast"
|
|
+ COMMAND blade "${PROJECT_SOURCE_DIR}/scripts/ast.b" "${OUTPUT_DIR}/libs/ast"
|
|
COMMENT "Generating Blade header and copy output..."
|
|
)
|
|
|