summaryrefslogtreecommitdiffstats
path: root/modules/TDEMacros.cmake
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-10 21:54:13 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-10 21:54:13 +0000
commitb5c2dd898d7b3c436c4dbf614240409b24170900 (patch)
treef60a4fbf04472b4c2575c2c9022999c29dabd43c /modules/TDEMacros.cmake
parent192bc90396a4fc5314e9e70328dcf9a6edf232f2 (diff)
downloadtde-cmake-b5c2dd898d7b3c436c4dbf614240409b24170900.tar.gz
tde-cmake-b5c2dd898d7b3c436c4dbf614240409b24170900.zip
[kde-common/cmake] fixed tde_moc() macro
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1231316 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'modules/TDEMacros.cmake')
-rw-r--r--modules/TDEMacros.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/TDEMacros.cmake b/modules/TDEMacros.cmake
index b99aa80..1152cf6 100644
--- a/modules/TDEMacros.cmake
+++ b/modules/TDEMacros.cmake
@@ -246,7 +246,7 @@ macro( tde_moc _sources )
get_filename_component( _input_file "${_input_file}" ABSOLUTE )
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}
COMMAND
${TMOC_EXECUTABLE} ${_input_file} -o ${_output_file}