mirror of
https://github.com/yoboujon/ftxui_template.git
synced 2025-06-08 04:50:49 +02:00
Fixed compilation under linux.
This commit is contained in:
parent
9c0343d6e7
commit
091801a077
2 changed files with 4 additions and 8 deletions
|
@ -1,5 +1,3 @@
|
|||
cmake_minimum_required(VERSION 3.22) #FTXUI asks for CMake 3.22 and C++ 17
|
||||
|
||||
include(FetchContent)
|
||||
|
||||
FetchContent_Declare(ftxui
|
||||
|
@ -7,11 +5,8 @@ FetchContent_Declare(ftxui
|
|||
GIT_TAG v6.0.2
|
||||
)
|
||||
|
||||
FetchContent_GetProperties(ftxui)
|
||||
if(NOT ftxui_POPULATED)
|
||||
FetchContent_Populate(ftxui)
|
||||
add_subdirectory(${ftxui_SOURCE_DIR} ${ftxui_BINARY_DIR} EXCLUDE_FROM_ALL)
|
||||
endif()
|
||||
FetchContent_MakeAvailable(ftxui)
|
||||
|
||||
set(FTXUI_INCLUDE_DIRS
|
||||
"${ftxui_SOURCE_DIR}/include"
|
||||
)
|
||||
)
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
#include <string>
|
||||
#include <vector>
|
||||
#include <ostream>
|
||||
#include <cstdint>
|
||||
|
||||
enum class LoggerType : uint8_t
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue