Skip to content

Commit ad35008

Browse files
authored
[one-cmds] Add dependency to directory creation (Samsung#15438)
This commit adds a dependency on cfg file creation to the destination directory. It prevents build fail by trying to create a cfg file in a non-existing directory. ONE-DCO-1.0-Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
1 parent 7cf729d commit ad35008

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/one-cmds/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ add_custom_command(OUTPUT ${O1_CFG_FILE_BIN}
182182
--constant ${O1_OPTION}
183183
--format cfg
184184
--output_path ${O1_CFG_FILE_BIN}
185-
DEPENDS ${CONSTANT_EXPORTING_SCRIPT} ${CONSTANT_SCRIPT}
185+
DEPENDS ${CONSTANT_EXPORTING_SCRIPT} ${CONSTANT_SCRIPT} ${ONE_PYTHON_DIR_BIN}
186186
COMMENT "Generate ${O1_CFG_FILE}"
187187
)
188188

0 commit comments

Comments
 (0)