Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Find Qt5 (if enabled) in ElementalConfig.cmake #275

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Apr 10, 2019

  1. Fix: Find Qt5 (if enabled) in ElementalConfig.cmake

    If Qt5 has been enabled during build, then e.g. target Qt5::Widgets is exported
    as a install dependency via ElementalTargets.cmake. Thus ElementalConfig.cmake
    must find Qt5 and import these Qt5 targets or else the user will get errors like:
    
    CMake Error at CMakeLists.txt:... (add_executable):
      Target "..." links to target "Qt5::Widgets" but the target was not found.
      Perhaps a find_package() call is missing for an IMPORTED target, or an
      ALIAS target is missing?
    JM1 committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    c9a2d68 View commit details
    Browse the repository at this point in the history