From d06503b50b44bcc31590d3003b0b77db2b830d4f Mon Sep 17 00:00:00 2001 From: th1nk3r-ing Date: Fri, 5 Jan 2024 17:29:53 +0800 Subject: [PATCH] fix(cpp): cmake compile `my_list.cpp` for target list (#1025) --- codes/cpp/chapter_array_and_linkedlist/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/codes/cpp/chapter_array_and_linkedlist/CMakeLists.txt b/codes/cpp/chapter_array_and_linkedlist/CMakeLists.txt index 0c69dc41d..2e933e016 100644 --- a/codes/cpp/chapter_array_and_linkedlist/CMakeLists.txt +++ b/codes/cpp/chapter_array_and_linkedlist/CMakeLists.txt @@ -1,4 +1,4 @@ add_executable(array array.cpp) add_executable(linked_list linked_list.cpp) -add_executable(list my_list.cpp) -add_executable(my_list my_list.cpp) \ No newline at end of file +add_executable(list list.cpp) +add_executable(my_list my_list.cpp)