don't set python exe to undefined

Authored by sitter on Jan 17 2019, 7:43 AM.

Description

don't set python exe to undefined

Summary:
FindPythonInterp sets PYTHON_EXECUTABLE, we overrode it by setting an
empty var. add a comment to explain the unbalancedness of the conditional
branches.

Test Plan: pythoncairo is correctly found with cmake 3.10.2

Reviewers: davidedmundson, fvogt

Reviewed By: fvogt

Subscribers: fvogt, heikobecker, plasma-devel

Tags: Plasma

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

Details

Committed
sitterJan 17 2019, 10:20 AM
Reviewer
fvogt
Differential Revision
D18309: don't set python exe to undefined
Parents
R98:de20417d6d2e: Remove hardcoded /usr/share paths in install
Branches
Unknown
Tags
Unknown