diff --git a/CMakeLists.txt b/CMakeLists.txt index 2e088ad..52359e3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,10 +4,10 @@ project(AdventOfCode2022) set(CMAKE_CXX_STANDARD 23) include(FetchContent) -FetchContent_Declare(cpr GIT_REPOSITORY https://github.com/libcpr/cpr.git GIT_TAG 67e12da316754ff3c6c91b50aafb2658438f3c1e) # the commit hash for 1.7.0 -# FetchContent_MakeAvailable(cpr) +FetchContent_Declare(cpr GIT_REPOSITORY https://github.com/libcpr/cpr.git GIT_TAG 100cf2050be7619430a615cd0d580b33c62fde6b) +FetchContent_MakeAvailable(cpr) file(GLOB_RECURSE SRC_FILES src/**.cpp src/**.h) add_executable(AdventOfCode2022 ${SRC_FILES}) -# target_link_libraries(AdventOfCode2022 PRIVATE cpr::cpr) \ No newline at end of file +target_link_libraries(AdventOfCode2022 PRIVATE cpr::cpr) \ No newline at end of file diff --git a/src/main.cpp b/src/main.cpp index 10791de..42e7e89 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -4,6 +4,7 @@ #include #include #include "days.h" +//#include std::vector getInput(int day){