diff --git a/CMakeLists.txt b/CMakeLists.txt index e417703..fa2e3fc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -75,7 +75,14 @@ else() set(spii_LIBRARIES "") endif() message(STATUS "spii_LIBRARIES:\"${spii_LIBRARIES}\"") +# copy dll +file(COPY ${SPII_INSTALL_DIR}/bin/spii.dll DESTINATION ${PROJECT_BINARY_DIR}/main) +# copy OpenCV dlls +file(GLOB OPENCV_DLLS + "${OpenCV_DIR}/x64/vc14/bin/*.dll" +) +file(COPY ${OPENCV_DLLS} DESTINATION ${PROJECT_BINARY_DIR}/main) message(STATUS "") message(STATUS "--- Include directories ---" ) diff --git a/external/spii-3.0.0/bin/spii.dll b/external/spii-3.0.0/bin/spii.dll new file mode 100644 index 0000000..abb6c7b Binary files /dev/null and b/external/spii-3.0.0/bin/spii.dll differ