How to change CMake version

Asked by Dawid Kozinski

I have a problem building DEB packages for my project on Launchpad for Ubuntu 20.04 (Focal).
The project requires CMake version 3.13 to build, but the build machine used by Launchpad provides CMkae version 3.10. As a result, the project configuration process fails because the version requirements are not met.
Is it possible to force Launchpad to use a version of CMake other than 3.10?"

Question information

English Edit question
Launchpad itself Edit question
No assignee Edit question
Solved by:
Dawid Kozinski
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :

Please re-check you version and release numbers.

Ubuntu focal (20.04) delivers cmake 3.16.3...

I assume that you are talking about a failed build for Ubuntu bionic (18.04).
The standard Ubuntu repositories for bionic provide cmake version 3.10.2...

If you need a higher version of cmake for your build, then you have to provide that version, either by copying or backporting that version (and all its dependencies) into the PPA in question, or having such version in another PPA and adding that PPA as dependency to your PPA.

Revision history for this message
Dawid Kozinski (wellsakus) said :

Thank you for your reply and your help. The problem was an inappropriate distribution name in the changelog file. We had bionic instead of focal.