Skip to content

Boost setup takes a lot of time #7

Description

@SAtacker

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()

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions