mirror of
https://github.com/bensuperpc/astar.git
synced 2024-10-18 14:13:24 +02:00
23 lines
390 B
CMake
23 lines
390 B
CMake
|
cmake_minimum_required(VERSION 3.14.0)
|
||
|
|
||
|
include(FetchContent)
|
||
|
|
||
|
if(NOT DEFINED BOOST_INCLUDE_LIBRARIES)
|
||
|
set(BOOST_INCLUDE_LIBRARIES system)
|
||
|
endif()
|
||
|
|
||
|
|
||
|
if(NOT DEFINED BOOST_ENABLE_CMAKE)
|
||
|
set(BOOST_ENABLE_CMAKE ON)
|
||
|
endif()
|
||
|
|
||
|
|
||
|
FetchContent_Declare(
|
||
|
Boost
|
||
|
GIT_REPOSITORY https://github.com/boostorg/boost.git
|
||
|
GIT_TAG boost-1.81.0
|
||
|
#GIT_SHALLOW TRUE
|
||
|
)
|
||
|
FetchContent_MakeAvailable(Boost)
|
||
|
|