1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-26 22:57:00 +02:00

Fix formatting

This commit is contained in:
Ivan Savenko 2022-12-27 12:28:05 +02:00
parent e9c08612ad
commit bbb1d36bce

View File

@ -334,10 +334,10 @@ if(ENABLE_LAUNCHER OR ENABLE_EDITOR)
find_package(QT NAMES Qt6 Qt5 COMPONENTS LinguistTools ) find_package(QT NAMES Qt6 Qt5 COMPONENTS LinguistTools )
find_package(Qt${QT_VERSION_MAJOR} COMPONENTS LinguistTools) find_package(Qt${QT_VERSION_MAJOR} COMPONENTS LinguistTools)
if (NOT Qt5LinguistTools_DIR) if(NOT Qt5LinguistTools_DIR)
set(ENABLE_TRANSLATIONS OFF) set(ENABLE_TRANSLATIONS OFF)
endif() endif()
if (ENABLE_TRANSLATIONS) if(ENABLE_TRANSLATIONS)
add_definitions(-DENABLE_QT_TRANSLATIONS) add_definitions(-DENABLE_QT_TRANSLATIONS)
endif() endif()
endif() endif()