Skip to content
Snippets Groups Projects
Commit 32600f69 authored by Ben Cumming's avatar Ben Cumming Committed by GitHub
Browse files

Merge pull request #7 from bcumming/cleanup

generated mechanism headers depend on modcc
parents 548cd0e6 27a41e9e
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