~neon/extra-cmake-modules/master

Viewing all changes in revision 833.

  • Committer: Aleix Pol
  • Date: 2018-07-17 23:16:31 UTC
  • Revision ID: git-v1:17158129a853fee645fc7de5c5037413b3cff4d8
Fix variable definition check

Summary:
We'd check if the variable's value is defined, which is wrong and prevented us
from properly initialising using these deprecated variables.
It would also ignore the value we're passing to the actually right variable when
using it.

Test Plan: Built kstars which needs -DCMAKE_ANDROID_API=24

Reviewers: #frameworks, vkrause

Reviewed By: vkrause

Subscribers: kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D14187

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: