diff options
-rw-r--r-- | CMakeLists.txt | 18 | ||||
-rw-r--r-- | src/main.cpp | 6 |
2 files changed, 13 insertions, 11 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index d272ece..df0000a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,13 +15,8 @@ if(WIN32) # Install dlls in the same directory as the executable on Windows endif() include(FetchContent) -FetchContent_Declare(cpr GIT_REPOSITORY https://github.com/libcpr/cpr.git - GIT_TAG c4713a704ca12237485ecbfec185f76c2a81bd09) - -FetchContent_Declare(ftxui - GIT_REPOSITORY https://github.com/ArthurSonzogni/ftxui.git - GIT_TAG d301fab1f4ecdd3544ed99b9c98e647d5804c341 -) +FetchContent_Declare(ftxui GIT_REPOSITORY https://github.com/ArthurSonzogni/ftxui.git + GIT_TAG d301fab1f4ecdd3544ed99b9c98e647d5804c341) FetchContent_GetProperties(ftxui) if(NOT ftxui_POPULATED) @@ -29,15 +24,16 @@ if(NOT ftxui_POPULATED) add_subdirectory(${ftxui_SOURCE_DIR} ${ftxui_BINARY_DIR} EXCLUDE_FROM_ALL) endif() -FetchContent_Declare(json URL https://github.com/nlohmann/json/releases/download/v3.11.2/json.tar.xz) ##https://github.com/nlohmann/json/releases/latest/download/json.tar.xz +FetchContent_Declare(cpr GIT_REPOSITORY https://github.com/libcpr/cpr.git + GIT_TAG c4713a704ca12237485ecbfec185f76c2a81bd09) + +FetchContent_Declare(json URL https://github.com/nlohmann/json/releases/download/v3.11.2/json.tar.xz + URL_HASH SHA256=8c4b26bf4b422252e13f332bc5e388ec0ab5c3443d24399acb675e68278d341f) ##https://github.com/nlohmann/json/releases/latest/download/json.tar.xz FetchContent_MakeAvailable(json cpr) find_package(SQLite3 REQUIRED) -## find_package(PCAP REQUIRED) - -# find_package(pybind11 REQUIRED) add_subdirectory(extern/pybind11) find_package(Ytdlp REQUIRED RUNTIME) diff --git a/src/main.cpp b/src/main.cpp index fed0a30..02afb7b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -76,4 +76,10 @@ int main(int argc, char **argv) { // cout << i << " "; // } // cout << endl; + + // string searchTerm; + // int searchingFor{-1}; + + // Tui ux; + // ux.renderSearchBar(searchTerm, searchingFor); } \ No newline at end of file |