mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
cmake: fix indentation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21108 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
9ec9f70df5
commit
e6bb7dc281
@ -104,19 +104,16 @@ macro(LYX_AUTOMOC)
|
||||
set(_header ${_abs_PATH}/${_mocless_name}.h)
|
||||
|
||||
#message(STATUS "moc : ${_header}")
|
||||
|
||||
#set(_header ${CMAKE_CURRENT_SOURCE_DIR}/${_basename}.h)
|
||||
#set(_header ${_abs_PATH}/${_basename}.h)
|
||||
set(_moc ${CMAKE_CURRENT_BINARY_DIR}/${_current_MOC})
|
||||
|
||||
set(_moc ${CMAKE_CURRENT_BINARY_DIR}/${_current_MOC})
|
||||
#set(_moc ${_abs_PATH}/${_current_MOC})
|
||||
add_custom_command(OUTPUT ${_moc}
|
||||
COMMAND ${QT_MOC_EXECUTABLE}
|
||||
ARGS ${_moc_INCS} ${_header} -o ${_moc}
|
||||
MAIN_DEPENDENCY ${_header}
|
||||
)
|
||||
MAIN_DEPENDENCY ${_header})
|
||||
macro_add_file_dependencies(${_abs_FILE} ${_moc})
|
||||
|
||||
endforeach (_current_MOC_INC)
|
||||
else()
|
||||
#message(STATUS "moc not found : ${_abs_FILE} ")
|
||||
|
Loading…
Reference in New Issue
Block a user