diff options
author | samelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-15 13:33:10 +0000 |
---|---|---|
committer | samelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-15 13:33:10 +0000 |
commit | 780c1ebc226a2fa5c7afcae19764a25273f7e79e (patch) | |
tree | 71913dbd57a3d12b924de328686b7181a624f114 | |
parent | 2354904fd256ac5da538c0b177a549b1c5ca40f5 (diff) | |
download | tde-cmake-780c1ebc226a2fa5c7afcae19764a25273f7e79e.tar.gz tde-cmake-780c1ebc226a2fa5c7afcae19764a25273f7e79e.zip |
[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/cmake@1232088 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r-- | modules/tde_uic.cmake | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/modules/tde_uic.cmake b/modules/tde_uic.cmake index 78f7185..e0278c6 100644 --- a/modules/tde_uic.cmake +++ b/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} |