From eb18386512ef2740419f09abec22b44ff77a5f97 Mon Sep 17 00:00:00 2001 From: afiqzudinhadi Date: Wed, 24 Jun 2026 00:32:00 +0800 Subject: [PATCH] Fix dict embedding: scope source property to app target directory --- CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 34629a2..3ecbb90 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -341,8 +341,9 @@ print(f'Stripped test blocks from {count} files') endif() if(NOT "${DICT_BIN_PATH}" STREQUAL "") - set_source_files_properties(src/dict_embed.S PROPERTIES - COMPILE_DEFINITIONS "JAVELIN_DICT_BIN_PATH=\"${DICT_BIN_PATH}\"" + set_source_files_properties(src/dict_embed.S + TARGET_DIRECTORY app + PROPERTIES COMPILE_DEFINITIONS "JAVELIN_DICT_BIN_PATH=\"${DICT_BIN_PATH}\"" ) message(STATUS "Javelin steno: embedding dictionary from ${DICT_BIN_PATH}") else()