mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 20:50:06 +00:00
Only add targets to the qt folder if they exist
This commit is contained in:
parent
1be5907104
commit
627f13043b
1 changed files with 12 additions and 5 deletions
|
|
@ -501,11 +501,18 @@ qt_add_translations(scwx-qt TS_FILES ${TS_FILES}
|
|||
INCLUDE_DIRECTORIES true
|
||||
LUPDATE_OPTIONS -locations none -no-ui-lines)
|
||||
|
||||
set_target_properties(release_translations PROPERTIES FOLDER qt)
|
||||
set_target_properties(scwx-qt_lrelease PROPERTIES FOLDER qt)
|
||||
set_target_properties(scwx-qt_lupdate PROPERTIES FOLDER qt)
|
||||
set_target_properties(scwx-qt_other_files PROPERTIES FOLDER qt)
|
||||
|
||||
if (TARGET update_translations)
|
||||
set_target_properties(release_translations PROPERTIES FOLDER qt)
|
||||
endif()
|
||||
if (TARGET scwx-qt_lrelease)
|
||||
set_target_properties(scwx-qt_lrelease PROPERTIES FOLDER qt)
|
||||
endif()
|
||||
if (TARGET scwx-qt_lupdate)
|
||||
set_target_properties(scwx-qt_lupdate PROPERTIES FOLDER qt)
|
||||
endif()
|
||||
if (TARGET scwx-qt_other_files)
|
||||
set_target_properties(scwx-qt_other_files PROPERTIES FOLDER qt)
|
||||
endif()
|
||||
if (TARGET update_translations)
|
||||
set_target_properties(update_translations PROPERTIES FOLDER qt)
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue