forked from qt-creator/qt-creator
get_property fails if the target does not exist, and _dep stays at some old value. This leads to a) a lot of cmake backtraces with an error message that doesn't add anything useful, and b) an endless loop in find_dependent_plugins. Which in the end leads to 500.000 lines of useless CMake output, repeating "qtcreator/cmake/QtCreatorAPIInternal.cmake:340 (find_dependent_plugins)" Skip get_property if the target doesn't exist. Change-Id: Ic694bc05b3dce5b83220a2f5dab8f063ef692c12 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
17 KiB
17 KiB