diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-01-08 09:25:07 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-01-08 15:41:34 (GMT) |
commit | 37ebeb910073aa142b41daa949dabf978e4d749d (patch) | |
tree | 58508324e30ee378abe2822b9e260b617e764faa /Modules | |
parent | 6aabb6a62b679f64e278087fc671cd33a35bf871 (diff) | |
download | CMake-37ebeb910073aa142b41daa949dabf978e4d749d.zip CMake-37ebeb910073aa142b41daa949dabf978e4d749d.tar.gz CMake-37ebeb910073aa142b41daa949dabf978e4d749d.tar.bz2 |
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).
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindQt4.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindQt4.cmake b/Modules/FindQt4.cmake index 28b8454..2c4e765 100644 --- a/Modules/FindQt4.cmake +++ b/Modules/FindQt4.cmake @@ -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() |