about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorComradeCrow <comradecrow@vivaldi.net>2024-04-17 16:28:26 -0700
committerComradeCrow <comradecrow@vivaldi.net>2024-04-17 16:28:26 -0700
commitb0487239d2f1fbcde9394b32058612778d2838ce (patch)
treeb0cb324ddd25664a26ce3d90e47ca3860fe05139
parentf36820831b79c196d3907c770d74e14570b350f8 (diff)
downloadytcpp-main.tar.gz
Everything is broken main
-rw-r--r--CMakeLists.txt8
m---------extern/pybind110
-rw-r--r--src/main.cpp2
3 files changed, 6 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 41e5488..763c44e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -24,7 +24,7 @@ endif()
 
 include(FetchContent)
 FetchContent_Declare(ftxui GIT_REPOSITORY https://github.com/ArthurSonzogni/ftxui.git
-                         GIT_TAG d301fab1f4ecdd3544ed99b9c98e647d5804c341)
+                         GIT_TAG cdf28903a7781f97ba94d30b79c3a4b0c97ccce7)
 
 FetchContent_GetProperties(ftxui)
 if(NOT ftxui_POPULATED)
@@ -33,7 +33,7 @@ if(NOT ftxui_POPULATED)
 endif()
 
 FetchContent_Declare(cpr GIT_REPOSITORY https://github.com/libcpr/cpr.git
-                         GIT_TAG 86545977e719fe3a54c407845e8cd340d15f0fd2)
+                         GIT_TAG 2553fc41450301cd09a9271c8d2c3e0cf3546b73)
 
 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
@@ -42,7 +42,8 @@ FetchContent_MakeAvailable(json cpr)
 
 find_package(SQLite3 REQUIRED)
 
-add_subdirectory(extern/pybind11)
+find_package(Python 3.6 COMPONENTS Interpreter Development REQUIRED)
+add_subdirectory("extern/pybind11")
 
 find_package(Ytdlp REQUIRED RUNTIME)
 
@@ -57,6 +58,7 @@ endif()
 
 
 add_executable(${PROJECT_NAME}
+# pybind11_add_module(${PROJECT_NAME}
     src/main.cpp
     src/tui.cpp
     src/invapi.cpp
diff --git a/extern/pybind11 b/extern/pybind11
-Subproject be97c5a98b4b252c524566f508b5c79410d118c
+Subproject 01ab935612a6800c4ad42957808d6cbd3004790
diff --git a/src/main.cpp b/src/main.cpp
index 42ad541..e3dde51 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -4,7 +4,7 @@
 #include <map>
 
 #include <ytcpp.hpp>
-#include <tui.hpp>
+// #include <tui.hpp>
 #include <video.hpp>
 #include <invapi.hpp>
 #include <YtdlpWrapper.hpp>