diff options
author | ComradeCrow <comradecrow@vivaldi.net> | 2023-04-27 01:30:54 -0700 |
---|---|---|
committer | ComradeCrow <comradecrow@vivaldi.net> | 2023-04-27 01:30:54 -0700 |
commit | 42452b644f4acc7425546d7c46d627b720cbafa6 (patch) | |
tree | ffc8ec00bc4d62dc5af10ff069eab9ef677ffee9 /CMakeLists.txt | |
parent | 07dae15a528ba2370b4cf05e539e664a4ff27279 (diff) | |
download | ytcpp-42452b644f4acc7425546d7c46d627b720cbafa6.tar.gz |
updates to cmake
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 18 |
1 files changed, 7 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) |