ENH: Executable bar should rebuild when its generated header changes. It does not need to link to the foo library anymore.
This commit is contained in:
parent
ba7780a3c4
commit
c3474ad029
@ -27,4 +27,3 @@ add_executable(bar bar.cxx
|
|||||||
${CMAKE_CURRENT_BINARY_DIR}/regen.h
|
${CMAKE_CURRENT_BINARY_DIR}/regen.h
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/noregen.h
|
${CMAKE_CURRENT_BINARY_DIR}/noregen.h
|
||||||
)
|
)
|
||||||
target_link_libraries(bar foo)
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user