diff --git a/npc/CMakeLists.txt b/npc/CMakeLists.txt index 61b1d09..c6f8612 100644 --- a/npc/CMakeLists.txt +++ b/npc/CMakeLists.txt @@ -40,7 +40,7 @@ foreach(TOPMODULE IN LISTS TOPMODULES) ) add_custom_target( - ChiselBuild + ChiselBuild_${TOPMODULE} DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${TOPMODULE}/vsrc/${TOPMODULE}.v )