pwojcik updated this revision to Diff 72404. pwojcik added a comment.
Corrected logic, so it is is in line with GNUInstallDirs. Explained in comment. Added tests. REPOSITORY R240 Extra CMake Modules CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D26245?vs=72258&id=72404 REVISION DETAIL https://phabricator.kde.org/D26245 AFFECTED FILES kde-modules/KDEInstallDirs.cmake tests/CMakeLists.txt tests/KDEInstallDirsTest/vars_in_sync/CMakeLists.txt To: pwojcik, kossebau, alexmerry Cc: apol, kde-frameworks-devel, kde-buildsystem, LeGast00n, GB_2, bencreasy, michaelh, ngraham, bruns