Am 30.10.2016 um 10:59 schrieb Christian Dávid: > My current suggestion to solve this issue is: > > 1) Let alkimia 4 die. Alkimia 5 is a perfect replacement. The only reason for > the version jump was a really tiny change which caused ABI incompatibility. > Any code that compiles with alkimia 4 should compile with version 5, too. > Also no change in any CMakeLists.txt is needed if no alkimia >= 6 is on the > system. > > 2) In KMyMoney we add the CONFIG option to find_package(). Then alkimia <= 4 > is not found anymore. Also we add correct version information to the > find_package() call. The hand written check should be removed. CMake has a > powerful version checking system, we should relay on that! > > Then no complicated naming conventions have to be introduced (which will not > solve all issues, btw). Your approach also includes the case of a coinstallation, say a stable 4.8.x version for real work and kf5 based version for development ?
Ralf