From cdd178d68d09b7a1416303b12f4d5e4b8502a2cc Mon Sep 17 00:00:00 2001 From: capitalistspz Date: Sun, 23 Mar 2025 22:24:28 +0000 Subject: [PATCH] Use alternate repo for openpnp-capture, simplify CMakeLists.txt --- .gitmodules | 3 ++- CMakeLists.txt | 3 +-- dependencies/openpnp-capture | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitmodules b/.gitmodules index 109260dd..9ff86b40 100644 --- a/.gitmodules +++ b/.gitmodules @@ -20,4 +20,5 @@ shallow = true [submodule "dependencies/openpnp-capture"] path = dependencies/openpnp-capture - url = https://github.com/openpnp/openpnp-capture + url = https://github.com/capitalistspz/openpnp-capture + branch = dev diff --git a/CMakeLists.txt b/CMakeLists.txt index f09ba085..0d1e42db 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -231,8 +231,7 @@ endif() add_subdirectory("dependencies/ih264d" EXCLUDE_FROM_ALL) -add_subdirectory("dependencies/openpnp-capture" EXCLUDE_FROM_ALL) -set_target_properties(openpnp-capture PROPERTIES INTERFACE_INCLUDE_DIRECTORIES "") +add_subdirectory("dependencies/openpnp-capture" EXCLUDE_FROM_ALL SYSTEM) find_package(ZArchive) if (NOT ZArchive_FOUND) diff --git a/dependencies/openpnp-capture b/dependencies/openpnp-capture index 8badbbae..ba456ac7 160000 --- a/dependencies/openpnp-capture +++ b/dependencies/openpnp-capture @@ -1 +1 @@ -Subproject commit 8badbbae826a578c2d66deecbffb6a2a079f1817 +Subproject commit ba456ac7572c6e6db49da53d2f4985d65309e582