Skip to content

Commit

Permalink
Reapply "Update openhd.mk"
Browse files Browse the repository at this point in the history
This reverts commit 85386af.
  • Loading branch information
raphaelscholle committed Sep 29, 2024
1 parent 85386af commit 9c438df
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions external/buildroot/package/openhd/openhd.mk
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,15 @@ OPENHD_CONF_OPTS = -DENABLE_USB_CAMERAS=OFF
# List of dependencies that must be built before OpenHD
OPENHD_DEPENDENCIES = libsodium gstreamer1 gst1-plugins-base libpcap host-pkgconf poco

# Define the CMake build commands to correctly set Poco_DIR or CMAKE_PREFIX_PATH
define OPENHD_BUILD_CMDS
$(TARGET_CONFIGURE_OPTS) \
cmake -DCMAKE_INSTALL_PREFIX=$(TARGET_DIR) \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_PREFIX_PATH=$(STAGING_DIR)/usr/lib/cmake/Poco \
$(OPENHD_CONF_OPTS) \
$(@D)
endef

# Use Buildroot's CMake package infrastructure to handle the build
$(eval $(cmake-package))

0 comments on commit 9c438df

Please sign in to comment.