mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
cmake: also add gifs to resources
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37317 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
4a1a425213
commit
8f8aab094d
@ -22,8 +22,10 @@ lyx_automoc(${frontends_qt4_sources})
|
|||||||
|
|
||||||
lyx_add_ui_files(frontends_qt4_sources ui_files ${frontend_qt4_UI})
|
lyx_add_ui_files(frontends_qt4_sources ui_files ${frontend_qt4_UI})
|
||||||
|
|
||||||
file(GLOB_RECURSE frontend_qt4_images ${TOP_SRC_DIR}/lib/images/*.png)
|
file(GLOB_RECURSE frontend_qt4_images_png ${TOP_SRC_DIR}/lib/images/*.png)
|
||||||
|
file(GLOB_RECURSE frontend_qt4_images_gif ${TOP_SRC_DIR}/lib/images/*.gif)
|
||||||
set(resource_name ${CMAKE_CURRENT_BINARY_DIR}/Resources.qrc)
|
set(resource_name ${CMAKE_CURRENT_BINARY_DIR}/Resources.qrc)
|
||||||
|
set(frontend_qt4_images ${frontend_qt4_images_png} ${frontend_qt4_images_gif})
|
||||||
lyx_qt_resources_file(${resource_name} "${TOP_SRC_DIR}/lib/" frontend_qt4_images)
|
lyx_qt_resources_file(${resource_name} "${TOP_SRC_DIR}/lib/" frontend_qt4_images)
|
||||||
qt4_add_resources(resource_files ${resource_name})
|
qt4_add_resources(resource_files ${resource_name})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user