Skip to content
Snippets Groups Projects
Commit 96cb724e authored by Antoine Lorence's avatar Antoine Lorence
Browse files

[CMake] Add missing resource file

parent 7e11011b
No related branches found
No related tags found
No related merge requests found
......@@ -193,6 +193,8 @@ set(UIS
qt5_wrap_ui(WRAPPED_UIS ${UIS})
qt5_add_resources(RCC_FILES "eiimage_app_res.qrc")
set(TS_FILES eiimage_en.ts eiimage_fr.ts)
# Uncommento only 1 of the 2 folowing commands, depending on your needs
# -1- Use current translations files
......@@ -200,7 +202,7 @@ qt5_add_translation(QM_FILES ${TS_FILES})
# -2- Update translations files with changes from c++ sources
# qt5_create_translation(QM_FILES ${eiimage_SOURCES} ${TS_FILES})
add_executable(eiimage ${eiimage_SOURCES} ${WRAPPED_UIS} ${UIS} ${TS_FILES})
add_executable(eiimage ${eiimage_SOURCES} ${WRAPPED_UIS} ${UIS} ${TS_FILES} ${RCC_FILES})
target_link_libraries(eiimage
core
Qt5::Core
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment