Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Opus Opus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 30
    • Issues 30
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 6
    • Merge requests 6
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Xiph.Org
  • OpusOpus
  • Issues
  • #2338
Closed
Open
Created Aug 20, 2020 by Donato Sciarra@dsciarra

cmake: wrong project version propagated to pkg-config file

When building the project as:

mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=RELEASE

I get:

-- Opus library version: 0.8.0

-- Found Git: /usr/bin/git (found version "2.25.1")

-- Opus package version: 1.3.1

-- Opus project version: 1.3.1

the "Opus library version" is propagated in the pkg-config file (at the time of writing 0.8.0). I discovered this while building tag 1.3.1 locally. Including opus in my cmake project as pkg_check_modules(OPUS REQUIRED "opus") returned:

-- Found opus, version 0.8.0

I can live with it locally but I think it would good to fix it!

Assignee
Assign to
Time tracking