generated from ArthurSonzogni/ftxui-starter
-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
cmakeenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Don't depend on system provided boost.
Add QUICK_FTXUI_BOOST option which is ON by default.
Use fetchcontent to fetch boost from GitHub when it is ON.
option(QUICK_FTXUI_BOOST "Enable boost fetching from GitHub" ON)
if(QUICK_FTXUI_BOOST)
set(BOOST_ENABLE_CMAKE ON)
include(FetchContent)
FetchContent_Declare(
Boost
GIT_REPOSITORY https://github.com/boostorg/boost.git
GIT_TAG boost-1.81.0
)
FetchContent_MakeAvailable(Boost)
else()
find_package(Boost 1.81.0 REQUIRED COMPONENTS spirit)
endif()Metadata
Metadata
Assignees
Labels
cmakeenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers