File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed
Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -243,6 +243,7 @@ ${_usage_host:-}"
243243 -DQT_VERSION=${QT_VERSION:- 6}
244244 -DCMAKE_BUILD_TYPE=${config}
245245 -DCMAKE_INSTALL_PREFIX=/usr
246+ -DINCLUDE_SIMDE=ON
246247 )
247248
248249 local cmake_version
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ project(${_name} VERSION ${_version})
77
88option (ENABLE_FRONTEND_API "Use obs-frontend-api for UI functionality" ON )
99option (ENABLE_QT "Use Qt functionality" ON )
10+ option (INCLUDE_SIMDE "Include simde" OFF )
1011
1112include (compilerconfig)
1213include (defaults)
@@ -15,6 +16,17 @@ include(helpers)
1516add_library (${CMAKE_PROJECT_NAME} MODULE)
1617add_subdirectory (deps)
1718
19+ if (INCLUDE_SIMDE)
20+ include (FetchContent)
21+ FetchContent_Declare(
22+ simde
23+ GIT_REPOSITORY https://github.com/simd-everywhere/simde.git
24+ GIT_TAG v0.8.2
25+ )
26+ FetchContent_MakeAvailable(simde)
27+ include_directories (${simde_SOURCE_DIR} )
28+ endif ()
29+
1830if (WIN32 OR WIN64)
1931
2032 # Enable Multicore Builds and disable FH4 (to not depend on VCRUNTIME140_1.DLL when building with VS2019)
You can’t perform that action at this time.
0 commit comments