Boost::regex
This commit is contained in:
1
3rdParty/CMakeLists.txt
vendored
1
3rdParty/CMakeLists.txt
vendored
@@ -21,6 +21,7 @@ add_subdirectory(libstud-uuid)
|
|||||||
add_subdirectory(rapidyaml)
|
add_subdirectory(rapidyaml)
|
||||||
add_subdirectory(libarchive)
|
add_subdirectory(libarchive)
|
||||||
add_subdirectory(libjpeg-turbo)
|
add_subdirectory(libjpeg-turbo)
|
||||||
|
add_subdirectory(boost)
|
||||||
if (NOT IOS)
|
if (NOT IOS)
|
||||||
add_subdirectory(curl)
|
add_subdirectory(curl)
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
16
3rdParty/boost/CMakeLists.txt
vendored
Normal file
16
3rdParty/boost/CMakeLists.txt
vendored
Normal 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()
|
||||||
@@ -100,7 +100,7 @@ endif()
|
|||||||
|
|
||||||
list(APPEND CMAKE_PREFIX_PATH ${CMAKE_BINARY_DIR}/deps/INSTALL)
|
list(APPEND CMAKE_PREFIX_PATH ${CMAKE_BINARY_DIR}/deps/INSTALL)
|
||||||
|
|
||||||
target_link_libraries(openVulkanoCpp PRIVATE magic_enum yaml-cpp fmt spdlog glm pugixml stb eigen utf8cpp imgui_internal TracyClient stud-uuid ryml unordered_dense)
|
target_link_libraries(openVulkanoCpp PRIVATE magic_enum yaml-cpp fmt spdlog glm pugixml stb eigen utf8cpp imgui_internal TracyClient stud-uuid ryml unordered_dense Boost::regex)
|
||||||
LinkCurl(openVulkanoCpp)
|
LinkCurl(openVulkanoCpp)
|
||||||
|
|
||||||
add_compile_definitions(LIBARCHIVE_STATIC)
|
add_compile_definitions(LIBARCHIVE_STATIC)
|
||||||
|
|||||||
Reference in New Issue
Block a user