Fix dict embedding: scope source property to app target directory

This commit is contained in:
afiqzudinhadi 2026-06-24 00:32:00 +08:00
parent 32f1812709
commit eb18386512

View file

@ -341,8 +341,9 @@ print(f'Stripped test blocks from {count} files')
endif() endif()
if(NOT "${DICT_BIN_PATH}" STREQUAL "") if(NOT "${DICT_BIN_PATH}" STREQUAL "")
set_source_files_properties(src/dict_embed.S PROPERTIES set_source_files_properties(src/dict_embed.S
COMPILE_DEFINITIONS "JAVELIN_DICT_BIN_PATH=\"${DICT_BIN_PATH}\"" TARGET_DIRECTORY app
PROPERTIES COMPILE_DEFINITIONS "JAVELIN_DICT_BIN_PATH=\"${DICT_BIN_PATH}\""
) )
message(STATUS "Javelin steno: embedding dictionary from ${DICT_BIN_PATH}") message(STATUS "Javelin steno: embedding dictionary from ${DICT_BIN_PATH}")
else() else()