From 4400ee16730a9014e3d17cf2c11b7c3214de4a86 Mon Sep 17 00:00:00 2001 From: Jason von Nieda Date: Mon, 3 Apr 2023 17:58:29 -0500 Subject: [PATCH] - Attempt to fix an issue with the test program library version not matching the built library version, and additionally building the wrong library version. Attempting to fix https://github.com/openpnp/openpnp-capture/issues/60 using suggestions from that thread. - Downgrade Ubuntu from 22.04 to 20.04. This should help improve compatibility with older installs. Considered going down to ubuntu-18.04, but since that is already deprecated I'll just start receiving warnings about it immediately. --- .github/workflows/build.yml | 4 ++-- CMakeLists.txt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ddb7bbb..7fef25d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -119,7 +119,7 @@ jobs: linux_arm64: strategy: matrix: - os: [ubuntu-latest] + os: [ubuntu-20.04] arch: [arm64] # Currently runs on Jason's Mac using a Github self hosted runner because @@ -158,7 +158,7 @@ jobs: linux_x86_64: strategy: matrix: - os: [ubuntu-latest] + os: [ubuntu-20.04] arch: [x86_64] runs-on: ${{ matrix.os }} diff --git a/CMakeLists.txt b/CMakeLists.txt index bb9cac1..5dd0b5b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,8 +12,8 @@ cmake_minimum_required(VERSION 3.1) project (openpnp-capture) -set(OPENPNP_CAPTURE_LIB_VERSION "0.0.24" CACHE STRING "openpnp-capture library version") -set(OPENPNP_CAPTURE_LIB_SOVERSION "0.0.24" CACHE STRING "openpnp-capture library soversion") +set(OPENPNP_CAPTURE_LIB_VERSION "0.0.26" CACHE STRING "openpnp-capture library version") +set(OPENPNP_CAPTURE_LIB_SOVERSION "0" CACHE STRING "openpnp-capture library soversion") # make sure the libjpegturbo is compiled with the # position independent flag -fPIC