/[packages]/cauldron/pianobooster/current/SOURCES/0001-CMake-Fix-use-of-LinguistTools-macro-without-loading.patch
ViewVC logotype

Contents of /cauldron/pianobooster/current/SOURCES/0001-CMake-Fix-use-of-LinguistTools-macro-without-loading.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1360671 - (show annotations) (download)
Fri Jan 25 16:55:42 2019 UTC (5 years, 2 months ago) by akien
File size: 756 byte(s)
Version 0.7.0-alpha, snapshot from 20190125
1 From 63d0378537539a5b2191fdbb756435c6309d573b Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= <rverschelde@gmail.com>
3 Date: Fri, 25 Jan 2019 17:41:35 +0100
4 Subject: [PATCH 1/2] CMake: Fix use of LinguistTools macro without loading it
5
6 Fixes #19.
7 ---
8 translations/CMakeLists.txt | 2 ++
9 1 file changed, 2 insertions(+)
10
11 diff --git a/translations/CMakeLists.txt b/translations/CMakeLists.txt
12 index 7c237a3..80c8bbe 100644
13 --- a/translations/CMakeLists.txt
14 +++ b/translations/CMakeLists.txt
15 @@ -5,6 +5,8 @@ SET( TRANSLATIONS_FILES
16 pianobooster_fr.ts
17 )
18
19 +FIND_PACKAGE(Qt5 REQUIRED COMPONENTS LinguistTools)
20 +
21 QT5_ADD_TRANSLATION(QM_FILES ${TRANSLATIONS_FILES})
22 ADD_CUSTOM_TARGET(translations ALL DEPENDS ${QM_FILES})
23
24 --
25 2.20.1
26

  ViewVC Help
Powered by ViewVC 1.1.30