mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Cmake build:
Recreate Resources.qrc at build-time if needed. (E.g. after `make clean')
This commit is contained in:
parent
f7680c696d
commit
e94e9e415f
@ -229,6 +229,11 @@ macro(lyx_qt_resources_file _qrc_name _to_dir _list)
|
||||
file(APPEND ${_qrc_name} "</qresource>\n")
|
||||
file(APPEND ${_qrc_name} "</RCC>\n")
|
||||
endif()
|
||||
add_custom_command(
|
||||
OUTPUT ${_qrc_name}
|
||||
COMMAND ${CMAKE_COMMAND} --build ${CMAKE_BINARY_DIR} --target rebuild_cache
|
||||
)
|
||||
|
||||
endmacro(lyx_qt_resources_file)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user