Fix build with cmake < 3.12
add_compile_definitions() was introduced in cmake 3.12.
As the specified minimum cmake version is 2.8.12, use the older
add_definitions() instead.
Differential Revision: https://phabricator.kde.org/D23826
wbauer | Sep 10 2019, 2:08 PM |