[kde-common/cmake] fixed tde_moc() macro

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common@1231316 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
master
samelian 14 years ago
parent 1efb091bca
commit 18f876866d

@ -246,7 +246,7 @@ macro( tde_moc _sources )
get_filename_component( _input_file "${_input_file}" ABSOLUTE ) get_filename_component( _input_file "${_input_file}" ABSOLUTE )
get_filename_component( _basename ${_input_file} NAME_WE ) get_filename_component( _basename ${_input_file} NAME_WE )
set( _output_file "${_basename}.moc" ) set( _output_file "${_basename}.moc.cpp" )
add_custom_command( OUTPUT ${_output_file} add_custom_command( OUTPUT ${_output_file}
COMMAND COMMAND
${TMOC_EXECUTABLE} ${_input_file} -o ${_output_file} ${TMOC_EXECUTABLE} ${_input_file} -o ${_output_file}

Loading…
Cancel
Save