diff --git a/Dependencies.cmake b/Dependencies.cmake index e286b59f..c9630d83 100644 --- a/Dependencies.cmake +++ b/Dependencies.cmake @@ -33,7 +33,8 @@ function(myproject_setup_dependencies) endif() if(NOT TARGET ftxui::screen) - cpmaddpackage("gh:ArthurSonzogni/FTXUI@5.0.0") + # see https://github.com/ArthurSonzogni/FTXUI/pull/738 + cpmaddpackage("gh:ArthurSonzogni/FTXUI#dd6a5d371fd7a3e2937bb579955003c54b727233") endif() if(NOT TARGET tools::tools) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index e35378d4..0f92a9d6 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,4 +1,2 @@ add_subdirectory(sample_library) -if(NOT CMAKE_UNITY_BUILD) - add_subdirectory(ftxui_sample) -endif() +add_subdirectory(ftxui_sample)