Skip to content

Commit 5b8bdc7

Browse files
committed
cmakelists, readme
1 parent 3f90639 commit 5b8bdc7

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

CMakeLists.txt

-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ set(PLUGIN_HEADERS
8989
add_library(${CMAKE_PROJECT_NAME} MODULE ${PLUGIN_SOURCES} ${PLUGIN_HEADERS})
9090

9191
find_package(Onnxruntime REQUIRED)
92-
message(STATUS "Onnxruntime_INCLUDE_DIRS ${Onnxruntime_INCLUDE_DIRS}")
9392

9493
if (APPLE)
9594
set(OpenCV_DIR ${CMAKE_BINARY_DIR}/opencv/lib/cmake/opencv4)

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,11 @@ $ .\vcpkg.exe install opencv[core]:x64-windows-static
100100
Unzip an ONNX runtime release: https://github.com/microsoft/onnxruntime/releases to e.g. Downloads.
101101
You should have a directory like `<Downloads>\Microsoft.AI.MachineLearning.1.7.2\`.
102102

103-
Clone the OBS repo, `Downloads\ $ git clone [email protected]:obsproject/obs-studio.git`, to e.g. Downloads.
104-
Checkout tag 26.1.1: `Downloads\obs-studio\ $ git checkout 26.1.1`
103+
Clone the OBS repo, `Downloads\ $ git clone --single-branch -b 26.1.2 [email protected]:obsproject/obs-studio.git`, to e.g. Downloads.
105104

106105
Build the plugin:
107106
```
108107
$ cmake .. -DobsPath="<Downloads>\obs-studio\" -DOnnxruntime_INCLUDE_HINT=<Downloads>\Microsoft.AI.MachineLearning.1.7.2\build\native\include -DOnnxruntime_DIR=<Downloads>\Microsoft.AI.MachineLearning.1.7.2\runtimes\win-x64\_native\static
109108
$ cmake --build . --config Release
110109
```
110+
(replace `<downloads>` with the actuals downloads directory path)

0 commit comments

Comments
 (0)