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:08 PM
Differential Revision
D23826: Fix build with cmake < 3.12
Parents
R443:66e5ef9b5b9d: GIT_SILENT made messages (after extraction)
Branches
Unknown
Tags
Unknown