mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Cmake build:
Do not recreate Resources.qrc at build-time for WIN32. (For some yet unknown reason it does not work)
This commit is contained in:
parent
f86c3de3ad
commit
d854ded56e
@ -229,10 +229,12 @@ 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
|
||||
)
|
||||
if(NOT WIN32)
|
||||
add_custom_command(
|
||||
OUTPUT ${_qrc_name}
|
||||
COMMAND ${CMAKE_COMMAND} --build "${CMAKE_BINARY_DIR}" --target rebuild_cache
|
||||
)
|
||||
endif()
|
||||
|
||||
endmacro(lyx_qt_resources_file)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user