File tree Expand file tree Collapse file tree 1 file changed +14
-9
lines changed
Expand file tree Collapse file tree 1 file changed +14
-9
lines changed Original file line number Diff line number Diff line change @@ -130,17 +130,16 @@ if(NOT simdjson_POPULATED)
130130 FetchContent_MakeAvailable(simdjson)
131131endif ()
132132# Get TBB
133- set (TBB_TEST
134- OFF
135- CACHE BOOL "Disable TBB tests" FORCE)
133+ set (TBB_TEST OFF CACHE BOOL "Disable TBB tests" FORCE)
134+ set (TBB_EXAMPLES OFF CACHE BOOL "Disable TBB examples" FORCE)
135+ set (TBB_STRICT OFF CACHE BOOL "Disable TBB strict mode" FORCE)
136+
136137FetchContent_Declare(
137138 tbb
138- GIT_REPOSITORY https://github.com/uxlfoundation/oneTBB
139- GIT_TAG v2022.3.0)
140- FetchContent_GetProperties(tbb)
141- if (NOT tbb_POPULATED)
142- FetchContent_MakeAvailable(tbb)
143- endif ()
139+ GIT_REPOSITORY https://github.com/uxlfoundation/oneTBB.git
140+ GIT_TAG v2022.3.0
141+ )
142+ FetchContent_MakeAvailable(tbb)
144143
145144add_library (dsf STATIC ${SOURCES} )
146145target_compile_definitions (dsf PRIVATE SPDLOG_USE_STD_FORMAT)
@@ -177,6 +176,12 @@ install(
177176if (BUILD_PYTHON_BINDINGS)
178177 include (FetchContent)
179178
179+ # Check if Doxygen is available for documentation generation
180+ find_package (Doxygen REQUIRED)
181+ if (NOT DOXYGEN_FOUND)
182+ message (FATAL_ERROR "Doxygen is required to build the docstrings." )
183+ endif ()
184+
180185 # Get pybind11
181186 FetchContent_Declare(
182187 pybind11
You can’t perform that action at this time.
0 commit comments