Fix build with cfitsio

Authored by rkflx on Sep 26 2017, 11:33 PM.

Description

Fix build with cfitsio

Summary:
Out-of-source builds would fail, as well as builds with a recent GCC.

However, this is more of an emergency build fix. Including the moc file
instead of fixing the linking error is still a hack and should
be fixed properly (see D7305).

Test Plan:

  • Builds on KDE Neon (GCC 5.4) as well as openSUSE Tumbleweed (GCC 7.1).
  • Out-of-source and in-source builds succeed.

Reviewers: cfeck, ngraham, ckertesz

Reviewed By: ngraham

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

Details

Committed
rkflxSep 27 2017, 6:02 AM
Reviewer
ngraham
Differential Revision
D8001: Fix build with cfitsio
Parents
R260:b49569c97a75: Add FITS format support
Branches
Unknown
Tags
Unknown