Skip to content

Commit

Permalink
Update to libphidget22 1.19 (#175)
Browse files Browse the repository at this point in the history
This version of libphidget22 compiles without warnings, so we don't need the patch file any more.
  • Loading branch information
mintar authored Mar 13, 2024
1 parent 9e7c457 commit f298048
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 722 deletions.
5 changes: 2 additions & 3 deletions libphidget22/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@ set(extra_c_flags "-g -O2 -Wno-incompatible-pointer-types -Wno-deprecated-declar

include(ExternalProject)
ExternalProject_Add(EP_${PROJECT_NAME}
URL https://www.phidgets.com/downloads/phidget22/libraries/linux/libphidget22/libphidget22-1.13.20230224.tar.gz
URL_MD5 e34f6bf266562d1950a82067ab5beaa9
URL https://www.phidgets.com/downloads/phidget22/libraries/linux/libphidget22/libphidget22-1.19.20240304.tar.gz
URL_MD5 9b059eaef8cb8ce70b8abd7e4d309d1d

CONFIGURE_COMMAND "./configure"
PATCH_COMMAND patch -p1 < ${CMAKE_CURRENT_SOURCE_DIR}/patch/libphidget22-1.13.20230224-fix-warnings.patch
SOURCE_DIR ${PROJECT_BINARY_DIR}/${PROJECT_NAME}-src
BUILD_IN_SOURCE 1
BUILD_COMMAND make "CFLAGS=-g -O2 -Wno-incompatible-pointer-types -Wno-deprecated-declarations -Wno-format-truncation"
Expand Down
Loading

0 comments on commit f298048

Please sign in to comment.