mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-28 11:48:36 -06:00
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:
@@ -1187,7 +1187,7 @@ if (QT_QMAKE_EXECUTABLE AND QTVERSION)
|
||||
endmacro()
|
||||
|
||||
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})
|
||||
_qt4_add_target_depends_internal(${_QT_MODULE} IMPORTED_LINK_DEPENDENT_LIBRARIES_${_config} ${ARGN})
|
||||
endforeach()
|
||||
|
||||
Reference in New Issue
Block a user