From 3f95ef7455b538c7929b752f97585ffa3126caa3 Mon Sep 17 00:00:00 2001 From: samelian Date: Sun, 15 May 2011 13:33:10 +0000 Subject: [PATCH] [kde-common/cmake] tde_uic.cmake: pass qtplugins argument to generator of header git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common@1232088 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- cmake/modules/tde_uic.cmake | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/cmake/modules/tde_uic.cmake b/cmake/modules/tde_uic.cmake index 78f7185..e0278c6 100644 --- a/cmake/modules/tde_uic.cmake +++ b/cmake/modules/tde_uic.cmake @@ -22,8 +22,13 @@ if( EXISTS "${UI_FILE}.h" ) execute_process( COMMAND tqt-replace ${local_ui_file}.h ) endif( ) +if( TDE_QTPLUGINS_DIR ) + set( L -L ${TDE_QTPLUGINS_DIR} ) +endif( ) + execute_process( COMMAND ${UIC_EXECUTABLE} -nounload -tr tr2i18n + ${L} ${local_ui_file} OUTPUT_VARIABLE _ui_h_content ) @@ -33,10 +38,6 @@ if( _ui_h_content ) file( WRITE ${_ui_basename}.h "${_ui_h_content}" ) endif( ) -if( TDE_QTPLUGINS_DIR ) - set( L -L ${TDE_QTPLUGINS_DIR} ) -endif( ) - execute_process( COMMAND ${UIC_EXECUTABLE} -nounload -tr tr2i18n ${L}