Merge topic 'qt4-deploy-module'

b688f11 Check QtCore without warning.
This commit is contained in:
David Cole 2011-11-15 14:39:38 -05:00 committed by CMake Topic Stage
commit a9e686d68b
1 changed files with 5 additions and 1 deletions

View File

@ -250,7 +250,11 @@ function(install_qt4_executable executable)
endif() endif()
get_filename_component(executable_absolute "${executable}" ABSOLUTE) get_filename_component(executable_absolute "${executable}" ABSOLUTE)
gp_file_type("${executable_absolute}" "${QT_QTCORE_LIBRARY}" qtcore_type) if(EXISTS "${QT_QTCORE_LIBRARY_RELEASE}")
gp_file_type("${executable_absolute}" "${QT_QTCORE_LIBRARY_RELEASE}" qtcore_type)
elseif(EXISTS "${QT_QTCORE_LIBRARY_DEBUG}")
gp_file_type("${executable_absolute}" "${QT_QTCORE_LIBRARY_DEBUG}" qtcore_type)
endif()
if(qtcore_type STREQUAL "system") if(qtcore_type STREQUAL "system")
set(qt_plugins_dir "") set(qt_plugins_dir "")
endif() endif()