WSL/SLF GitLab Repository

Commit 850ca7ae authored by Mathias Bavay's avatar Mathias Bavay
Browse files

Cleanup in the CMakeLists

parent 557e03cc
#SPDX-License-Identifier: GPL-3.0-or-later
CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
SET(CMAKE_OSX_DEPLOYMENT_TARGET 10.13)
SET(CMAKE_OSX_DEPLOYMENT_TARGET 10.13) # High Sierra
LIST(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/tools/cmake/")
SET(VERSION_MAJOR 2 CACHE INTERNAL "")
......@@ -64,10 +64,6 @@ SET(SUPPORT_TRANSLATIONS OFF CACHE BOOL "Support translating the user interface?
IF(SUPPORT_TRANSLATIONS)
FIND_PACKAGE(Qt5LinguistTools REQUIRED)
MARK_AS_ADVANCED(FORCE Qt5LinguistTools_DIR)
# SET(REFRESH_TRANSLATION_FILES OFF CACHE BOOL "Regenerate the translation files? (this will overwrite the existing .ts files)")
# IF(REFRESH_TRANSLATION_FILES)
# qt5_create_translation(QM_FILES ${PROJECT_SOURCE_DIR}/src ${PROJECT_SOURCE_DIR}/resources/langs/inishell_de.ts)
# ENDIF(REFRESH_TRANSLATION_FILES)
FILE(GLOB TS_FILES ${PROJECT_SOURCE_DIR}/resources/langs/*.ts)
SET_SOURCE_FILES_PROPERTIES(${TS_FILES} PROPERTIES OUTPUT_LOCATION "resources/l10n")
qt5_add_translation(QM_FILES ${TS_FILES})
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment