Boost::regex

This commit is contained in:
Vladyslav Baranovskyi
2024-07-15 16:50:38 +03:00
parent 2584d852c8
commit 976eea2ae0
3 changed files with 18 additions and 1 deletions

16
3rdParty/boost/CMakeLists.txt vendored Normal file
View File

@@ -0,0 +1,16 @@
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()