FindQt4: Fix use of get_target_property to use actual target name.

This was introduced in ba48e63f (Generate config-specific interface
link libraries propeties., 2013-02-09).
This commit is contained in:
Stephen Kelly 2014-01-08 10:25:07 +01:00
parent 6aabb6a62b
commit 37ebeb9100
1 changed files with 1 additions and 1 deletions

View File

@ -1187,7 +1187,7 @@ if (QT_QMAKE_EXECUTABLE AND QTVERSION)
endmacro() endmacro()
macro(_qt4_add_target_private_depends _QT_MODULE) macro(_qt4_add_target_private_depends _QT_MODULE)
get_target_property(_configs ${_QT_MODULE} IMPORTED_CONFIGURATIONS) get_target_property(_configs Qt4::${_QT_MODULE} IMPORTED_CONFIGURATIONS)
foreach(_config ${_configs}) foreach(_config ${_configs})
_qt4_add_target_depends_internal(${_QT_MODULE} IMPORTED_LINK_DEPENDENT_LIBRARIES_${_config} ${ARGN}) _qt4_add_target_depends_internal(${_QT_MODULE} IMPORTED_LINK_DEPENDENT_LIBRARIES_${_config} ${ARGN})
endforeach() endforeach()