Skip to content

Commit

Permalink
[irods/irods#7531] bump irods version requirement and switch to versi…
Browse files Browse the repository at this point in the history
…on range

The usage of a version range here is due to the shift to libstdc++ in 4.9x.
This plugin has a dependency on the qpid-proton C++ libraries, and must link
to builds of said libraries that are built against the same C++ stdlib.
  • Loading branch information
SwooshyCueb committed Mar 1, 2024
1 parent 067f256 commit 8e8a7a8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
cmake_minimum_required(VERSION 3.5.0 FATAL_ERROR) #CPACK_DEBIAN_<COMPONENT>_PACKAGE_NAME
cmake_minimum_required(VERSION 3.19.0 FATAL_ERROR) #version range with find_package

# Ensure try_compile() uses project settings
cmake_policy(SET CMP0066 NEW)
cmake_policy(SET CMP0067 NEW)

find_package(IRODS 4.3.1 EXACT REQUIRED)
set(IRODS_MINIMUM_VERSION "4.3.2")
find_package(IRODS ${IRODS_MINIMUM_VERSION}...<4.4.0 REQUIRED)
set(IRODS_PLUGIN_REVISION "0")
set(IRODS_PLUGIN_VERSION "${IRODS_VERSION}.${IRODS_PLUGIN_REVISION}")
set(IRODS_PLUGIN_VERSION "${IRODS_MINIMUM_VERSION}.${IRODS_PLUGIN_REVISION}")

set(IRODS_PACKAGE_REVISION "0")

Expand Down

0 comments on commit 8e8a7a8

Please sign in to comment.