From bbb1d36bce9dad4d3e31601813fcac3e6349aa1b Mon Sep 17 00:00:00 2001 From: Ivan Savenko Date: Tue, 27 Dec 2022 12:28:05 +0200 Subject: [PATCH] Fix formatting --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d9945a1ca..4a91dedb0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()