Skip to content

Commit df6300e

Browse files
committed
Windows-deploy: added missing zed's dll file.
1 parent 94e31dc commit df6300e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

app/src/CMakeLists.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,16 @@ IF(BUILD_AS_BUNDLE AND (APPLE OR WIN32))
110110
ENDIF(WIN32)
111111
ENDIF(k4a_FOUND)
112112

113+
IF(ZED_FOUND)
114+
# Install needed zlibwapi.dll
115+
IF(WIN32)
116+
file(TO_CMAKE_PATH "$ENV{ZED_SDK_ROOT_DIR}" ENV_ZED_SDK_ROOT_DIR)
117+
INSTALL(FILES "${ENV_ZED_SDK_ROOT_DIR}/bin/zlibwapi.dll"
118+
DESTINATION ${thirdparty_dest_dir}
119+
COMPONENT runtime)
120+
ENDIF(WIN32)
121+
ENDIF(ZED_FOUND)
122+
113123
IF(Torch_FOUND)
114124
# Install needed cudnn_ops_infer64_8.dll and cudnn_cnn_infer64_8.dll
115125
# TODO: should be a more general way to include them if version is different

0 commit comments

Comments
 (0)