Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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?
- Loading branch information