2017-07-31 22:45 GMT+02:00 Albert Astals Cid <aacid@kde.org>:
El dilluns, 31 de juliol de 2017, a les 9:44:17 CEST, David Faure va escriure:
One other option would be calling
  cmake --trace-expand
and parsing for

project(.* VERSION _THE_NUNBER_WE_WANT )

maybe that does indeed make more sense.

Adrián could you update the code to parse for that?

Patch for okular would be something like https://paste.kde.org/pelj2ugxp

On it.