Files
OpenVulkano/3rdParty/boost/CMakeLists.txt
Vladyslav Baranovskyi 976eea2ae0 Boost::regex
2024-07-15 16:50:38 +03:00

16 lines
441 B
CMake

Find_Package(Boost QUIET COMPONENTS regex)
include(FetchContent)
if(NOT DEFINED OPENCV_REPO)
set(OPENCV_REPO https://github.com/opencv/opencv.git)
endif ()
if (NOT Boost_FOUND)
set(BOOST_INCLUDE_LIBRARIES regex)
set(BOOST_ENABLE_CMAKE ON)
FetchContent_Declare(
Boost
URL https://github.com/boostorg/boost/releases/download/boost-1.84.0/boost-1.84.0.tar.xz
)
FetchContent_MakeAvailable(Boost)
endif()