Fix build with cmake < 3.12

Authored by wbauer on Sep 10 2019, 2:06 PM.

Description

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

Details

Committed
wbauerSep 10 2019, 2:11 PM
Differential Revision
D23826: Fix build with cmake < 3.12
Parents
R443:497c907ad963: Enable QURL_NO_CAST_FROM_STRING and fix compilation
Branches
Unknown
Tags
Unknown
References
tag: v19.08.3, tag: v19.08.2, Applications/19.08