Bump libakgl to 0.2.0
Require libakstdlib 0.2 when consuming an installed dependency, matching the API adopted by the preceding commit. Co-Authored-By: Codex GPT-5 <noreply@openai.com>
This commit is contained in:
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.10)
|
|||||||
# The single source of truth for the library version. It drives the generated
|
# The single source of truth for the library version. It drives the generated
|
||||||
# include/akgl/version.h, the shared library's VERSION and SOVERSION, and the
|
# include/akgl/version.h, the shared library's VERSION and SOVERSION, and the
|
||||||
# Version field in akgl.pc. Bump it here and nowhere else.
|
# Version field in akgl.pc. Bump it here and nowhere else.
|
||||||
project(akgl VERSION 0.1.0 LANGUAGES C)
|
project(akgl VERSION 0.2.0 LANGUAGES C)
|
||||||
|
|
||||||
include(CTest)
|
include(CTest)
|
||||||
option(AKGL_COVERAGE "Instrument libakgl and generate coverage reports with CTest" OFF)
|
option(AKGL_COVERAGE "Instrument libakgl and generate coverage reports with CTest" OFF)
|
||||||
@@ -70,12 +70,12 @@ else()
|
|||||||
if(NOT TARGET akerror::akerror)
|
if(NOT TARGET akerror::akerror)
|
||||||
find_package(akerror REQUIRED)
|
find_package(akerror REQUIRED)
|
||||||
endif()
|
endif()
|
||||||
# 0.1 rather than bare: libakstdlib 0.1.0 ships an akstdlibConfigVersion.cmake
|
# 0.2 rather than bare: libakstdlib 0.2.0 ships an akstdlibConfigVersion.cmake
|
||||||
# with SameMinorVersion compatibility, mirroring its soname, so this accepts
|
# with SameMinorVersion compatibility, mirroring its soname, so this accepts
|
||||||
# any 0.1.x and refuses 0.2 and 1.0. Unversioned, this path would silently
|
# any 0.2.x and refuses 0.3 and 1.0. Unversioned, this path would silently
|
||||||
# accept an ABI-incompatible libakstdlib.
|
# accept an ABI-incompatible libakstdlib.
|
||||||
if(NOT TARGET akstdlib::akstdlib)
|
if(NOT TARGET akstdlib::akstdlib)
|
||||||
find_package(akstdlib 0.1 REQUIRED)
|
find_package(akstdlib 0.2 REQUIRED)
|
||||||
endif()
|
endif()
|
||||||
if(NOT TARGET jansson::jansson)
|
if(NOT TARGET jansson::jansson)
|
||||||
find_package(jansson)
|
find_package(jansson)
|
||||||
|
|||||||
Reference in New Issue
Block a user