mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-09 17:44:01 -07:00
format
This commit is contained in:
parent
6cbb438256
commit
60e7700f9c
1 changed files with 14 additions and 14 deletions
|
|
@ -347,13 +347,13 @@ set(COCKATRICE_WIN32_QM_INSTALL_DIR "translations")
|
||||||
|
|
||||||
if(Qt6_FOUND)
|
if(Qt6_FOUND)
|
||||||
qt6_add_executable(
|
qt6_add_executable(
|
||||||
cockatrice
|
cockatrice
|
||||||
WIN32
|
WIN32
|
||||||
MACOSX_BUNDLE
|
MACOSX_BUNDLE
|
||||||
${cockatrice_SOURCES}
|
${cockatrice_SOURCES}
|
||||||
${cockatrice_RESOURCES_RCC}
|
${cockatrice_RESOURCES_RCC}
|
||||||
${cockatrice_MOC_SRCS}
|
${cockatrice_MOC_SRCS}
|
||||||
MANUAL_FINALIZATION
|
MANUAL_FINALIZATION
|
||||||
)
|
)
|
||||||
elseif(Qt5_FOUND)
|
elseif(Qt5_FOUND)
|
||||||
# Qt5 Translations need to be linked at executable creation time
|
# Qt5 Translations need to be linked at executable creation time
|
||||||
|
|
@ -558,13 +558,13 @@ if(Qt6_FOUND AND Qt6LinguistTools_FOUND)
|
||||||
#Qt6 Translations happen after the executable is built up
|
#Qt6 Translations happen after the executable is built up
|
||||||
if(UPDATE_TRANSLATIONS)
|
if(UPDATE_TRANSLATIONS)
|
||||||
qt6_add_translations(
|
qt6_add_translations(
|
||||||
cockatrice
|
cockatrice
|
||||||
TS_FILES
|
TS_FILES
|
||||||
${cockatrice_TS}
|
${cockatrice_TS}
|
||||||
SOURCES
|
SOURCES
|
||||||
${translate_SRCS}
|
${translate_SRCS}
|
||||||
QM_FILES_OUTPUT_VARIABLE
|
QM_FILES_OUTPUT_VARIABLE
|
||||||
cockatrice_QM
|
cockatrice_QM
|
||||||
)
|
)
|
||||||
else()
|
else()
|
||||||
qt6_add_translations(cockatrice TS_FILES ${cockatrice_TS} QM_FILES_OUTPUT_VARIABLE cockatrice_QM)
|
qt6_add_translations(cockatrice TS_FILES ${cockatrice_TS} QM_FILES_OUTPUT_VARIABLE cockatrice_QM)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue