CMake: Make PROJECT_VERSION_EXTENSION code simpler
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>
Sat, 11 Jun 2016 05:10:17 +0000 (06:10 +0100)
committerJoão Valverde <j@v6e.pt>
Sun, 12 Jun 2016 19:29:47 +0000 (19:29 +0000)
commitcee3e827ebcc1d4524c19208b9a1196cb0e4f7a2
tree1b37014c246745666dfe817619d40c72b4cee062
parent38d39f292e01551fe30b57583bd79a0d06d59420
CMake: Make PROJECT_VERSION_EXTENSION code simpler

The intent was to allow all sorts of overrides but, ugly.

I don't think we need $cmake_package_string either, at least with
these changes.

Follow-up to 7c6e859ccf210a45e1cc0f6da17692845e6b5a23.

(And bdec712166ba924a2cdeaaca8ae580c343eaf02c).

Change-Id: I808b6bd3a3c64d2a67165344e8fe23e8314c27db
Reviewed-on: https://code.wireshark.org/review/15835
Reviewed-by: João Valverde <j@v6e.pt>
CMakeLists.txt
make-version.pl