mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-06 22:30:07 -05:00
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:
@@ -27,4 +27,3 @@ add_executable(bar bar.cxx
|
||||
${CMAKE_CURRENT_BINARY_DIR}/regen.h
|
||||
${CMAKE_CURRENT_BINARY_DIR}/noregen.h
|
||||
)
|
||||
target_link_libraries(bar foo)
|
||||
|
||||
Reference in New Issue
Block a user