aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-qt/tufao/tufao/build-Fix-mkspecs-and-CMake-module-install-directori.patch
blob: d405c168f61905747232ea16fa8ccf3eb0fbafce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From d8c16e032a6b639b410761a07f2158e0aeda0b08 Mon Sep 17 00:00:00 2001
From: Otavio Salvador <otavio@ossystems.com.br>
Date: Sat, 7 Jun 2014 18:13:14 -0300
Subject: [PATCH] build: Fix mkspecs and CMake module install directories

Organization: O.S. Systems Software LTDA.

Upstream-Status: Inapropriate [configuration]

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Herman van Hazendonk <github.com@herrie.org>
---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0695a76..f2266c9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -34,7 +34,7 @@ endfunction(QUERY_QMAKE)
 query_qmake(QT_INSTALL_PLUGINS QT_PLUGINS_DIR)
 query_qmake(QT_HOST_DATA QT_DATA_DIR)
 
-set(QT_MKSPECS_DIR ${QT_DATA_DIR}/mkspecs)
+set(QT_MKSPECS_DIR ${OE_QMAKE_PATH_QT_ARCHDATA}/mkspecs)
 
 # Debug version of library should have 'd' postfix on Windows
 # and '_debug' on Mac OS X
-- 
2.0.0.rc4