diff options
| author | Eugen Wissner <belka@caraus.de> | 2025-07-29 22:34:54 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2025-07-29 22:37:12 +0200 |
| commit | c1367e494e195999fc3e868ca16df2037ac6899a (patch) | |
| tree | ebe9e928120c32bbde7496960d4b1935d8411942 /cli/CMakeLists.txt | |
| parent | 692edeb8e156f842433cd32236d960223ded4ab0 (diff) | |
| download | katja-c1367e494e195999fc3e868ca16df2037ac6899a.tar.gz | |
Enable C++20 and use cmake 4
Diffstat (limited to 'cli/CMakeLists.txt')
| -rw-r--r-- | cli/CMakeLists.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cli/CMakeLists.txt b/cli/CMakeLists.txt index b11226f..533e2bc 100644 --- a/cli/CMakeLists.txt +++ b/cli/CMakeLists.txt @@ -4,7 +4,7 @@ FetchContent_Declare(ftxui GIT_REPOSITORY https://github.com/ArthurSonzogni/ftxui - GIT_TAG v6.1.8 + GIT_TAG v6.1.9 GIT_PROGRESS TRUE GIT_SHALLOW TRUE EXCLUDE_FROM_ALL @@ -18,7 +18,8 @@ FetchContent_Declare(toml11 ) FetchContent_MakeAvailable(toml11) -add_executable(katja-cli main.cpp component.hpp component.cpp page.hpp page.cpp) +add_executable(katja-cli main.cpp component.hpp component.cpp) +target_sources(katja-cli PUBLIC FILE_SET all_my_modules TYPE CXX_MODULES FILES page.cpp) target_include_directories(katja-cli PRIVATE ${Boost_INCLUDE_DIR}) target_link_libraries(katja-cli LINK_PUBLIC katja |
