summaryrefslogtreecommitdiff
path: root/cli/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'cli/CMakeLists.txt')
-rw-r--r--cli/CMakeLists.txt14
1 files changed, 2 insertions, 12 deletions
diff --git a/cli/CMakeLists.txt b/cli/CMakeLists.txt
index 3dbb7c6..ce8005d 100644
--- a/cli/CMakeLists.txt
+++ b/cli/CMakeLists.txt
@@ -2,32 +2,22 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
-FetchContent_Declare(ftxui
- GIT_REPOSITORY https://github.com/ArthurSonzogni/ftxui
- GIT_TAG v6.1.9
- GIT_PROGRESS TRUE
- GIT_SHALLOW TRUE
- EXCLUDE_FROM_ALL
-)
FetchContent_Declare(toml11
GIT_REPOSITORY https://github.com/ToruNiina/toml11.git
GIT_TAG v4.4.0
GIT_PROGRESS TRUE
)
-FetchContent_MakeAvailable(ftxui toml11)
+FetchContent_MakeAvailable(toml11)
find_package(Boost CONFIG COMPONENTS program_options REQUIRED)
add_executable(katja-cli main.cpp)
target_sources(katja-cli PUBLIC FILE_SET all_my_modules TYPE CXX_MODULES FILES
- component.cpp configuration.cpp
+ command_line.cpp configuration.cpp
)
target_include_directories(katja-cli PRIVATE ${Boost_INCLUDE_DIR})
target_link_libraries(katja-cli
PUBLIC katja
- PRIVATE ftxui::screen
- PRIVATE ftxui::dom
- PRIVATE ftxui::component
PRIVATE toml11::toml11
PRIVATE Boost::program_options
)