diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index a7c9476..3eb4d8e 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -2,4 +2,6 @@ add_executable(list EXCLUDE_FROM_ALL list.c) target_link_libraries(list PRIVATE minitar) add_executable(untar EXCLUDE_FROM_ALL untar.c) -target_link_libraries(untar PRIVATE minitar) \ No newline at end of file +target_link_libraries(untar PRIVATE minitar) + +add_custom_target(examples DEPENDS list untar) \ No newline at end of file