really fix include issues, fix FTBFS against qt-5.6.x

Review Request #127608 - Created April 7, 2016 and submitted - Latest diff uploaded

Information
Rex Dieter
phonon
4.8
Reviewers
phonon
dvratil, hrvojes, sitter

Previous attempts to fixing include issues ends up throwing away all but the first include dir (and so include dir ordering can make success/failure non-deterministic). As a bonus, add LINK_LIBRARIES "${Qt5Core_LIBRARIES}" in visibility test (else it always fails due to new symbol versioning feature in qt-5.6).

Sorry, this is technically fixing 2 things at once, so I can split it into separate submissions if you prefer.

build succeeds trying to build phonon-qt5 only on rhel7 (previously always fails).

Loading...