Revert "Allow messages.txt to be generated also when OpenSTA makefile is not the top module. (#270)"

This reverts commit 253cca73ff.
This commit is contained in:
James Cherry 2025-07-31 12:12:43 -07:00
parent 3d3b16334e
commit 0635ba03e0
1 changed files with 1 additions and 1 deletions

View File

@ -606,6 +606,6 @@ add_custom_target(sta_tags
add_custom_command( add_custom_command(
TARGET OpenSTA TARGET OpenSTA
POST_BUILD POST_BUILD
COMMAND cd ${CMAKE_CURRENT_LIST_DIR} && etc/FindMessages.tcl > ${CMAKE_CURRENT_LIST_DIR}/doc/messages.txt || true COMMAND ${CMAKE_SOURCE_DIR}/etc/FindMessages.tcl > ${CMAKE_SOURCE_DIR}/doc/messages.txt || true
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
) )