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