Skip to content
Snippets Groups Projects
Commit 27a41e9e authored by Benjamin Cumming's avatar Benjamin Cumming
Browse files

generated mechanism headers depend on modcc

parent 15585340
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,7 @@ foreach(mech ${mechanisms})
else()
add_custom_command(
OUTPUT "${hpp}"
DEPENDS "${mod}"
DEPENDS modcc "${mod}"
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"
COMMAND ${modcc} ${modcc_flags} ${mod} -o ${hpp}
)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment