Skip to content

Commit fa1f359

Browse files
Fix cprover_library.inc dependencies in CMake
`cprover_library.inc` should depend on the *.c files, not just the converter itself.
1 parent 86d36f6 commit fa1f359

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ansi-c/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ endforeach()
1313

1414
add_custom_command(OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/cprover_library.inc"
1515
COMMAND converter < ${converter_input_path} > "${CMAKE_CURRENT_BINARY_DIR}/cprover_library.inc"
16-
DEPENDS converter
16+
DEPENDS converter ${converter_input_path}
1717
)
1818

1919
add_executable(file_converter file_converter.cpp)

0 commit comments

Comments
 (0)