1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-04-27 12:22:45 +02:00

Fixed formatting

This commit is contained in:
Ivan Savenko 2022-12-27 12:26:57 +02:00
parent 2ca454b6c2
commit dd172b0ea6

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()