diff options
author | ComradeCrow <comradecrow@vivaldi.net> | 2023-04-12 14:32:15 -0700 |
---|---|---|
committer | ComradeCrow <comradecrow@vivaldi.net> | 2023-04-12 14:32:15 -0700 |
commit | 9d53072e32c60aa51784182a0a608ce204cab9e6 (patch) | |
tree | 4b547c106f0cb015533b839f6f1cfa81693f5e3b /CMakeLists.txt | |
parent | 63bfecda26d87c7d09691a0b479883a4eb26bf1e (diff) | |
download | ytcpp-9d53072e32c60aa51784182a0a608ce204cab9e6.tar.gz |
breaking changes
broke everything
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 4500127..bf5b4da 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,6 +3,7 @@ cmake_minimum_required(VERSION 3.26.0) project(ytcpp LANGUAGES CXX VERSION 0.0.1 + HOMEPAGE_URL https://crow.port0.org/git/comradecrow/ytcpp.git ) set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin) @@ -15,11 +16,10 @@ endif() include(FetchContent) FetchContent_Declare(cpr GIT_REPOSITORY https://github.com/libcpr/cpr.git GIT_TAG c4713a704ca12237485ecbfec185f76c2a81bd09) -FetchContent_MakeAvailable(cpr) FetchContent_Declare(ftxui GIT_REPOSITORY https://github.com/ArthurSonzogni/ftxui.git - GIT_TAG v4.0.0 + GIT_TAG d301fab1f4ecdd3544ed99b9c98e647d5804c341 ) FetchContent_GetProperties(ftxui) @@ -29,10 +29,14 @@ if(NOT ftxui_POPULATED) endif() FetchContent_Declare(json URL https://github.com/nlohmann/json/releases/download/v3.11.2/json.tar.xz) -FetchContent_MakeAvailable(json) + +FetchContent_MakeAvailable(json cpr) find_package(SQLite3 REQUIRED) +# find_package(pybind11 REQUIRED) +add_subdirectory(extern/pybind11) + add_executable(${PROJECT_NAME} src/main.cpp) target_include_directories(${PROJECT_NAME} PRIVATE src) @@ -43,4 +47,5 @@ target_link_libraries(${PROJECT_NAME} PRIVATE ftxui::component PRIVATE nlohmann_json::nlohmann_json PRIVATE SQLite::SQLite3 + PRIVATE pybind11::embed ) |