summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Zou2016-03-16 18:36:32 +0100
committerMichel Zou2016-03-16 18:36:32 +0100
commit759b27e5d290cb9186c835089f2d84452ee77688 (patch)
tree5ab37b5ad7adc27faa5f2131bcb5801fce19b394
parent397bf32be62766f77f012c2266a469a1bf215930 (diff)
downloadaur-759b27e5d290cb9186c835089f2d84452ee77688.tar.gz
set CMAKE_FIND_ROOT_PATH_MODE_PACKAGE
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD2
-rw-r--r--toolchain-mingw.cmake1
3 files changed, 5 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d22effa7341b..18786a0d83a3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,9 @@
+# Generated by mksrcinfo v8
+# Wed Mar 16 17:36:32 UTC 2016
pkgbase = mingw-w64-cmake
pkgdesc = CMake wrapper for MinGW (mingw-w64)
pkgver = 1
- pkgrel = 10
+ pkgrel = 11
url = http://fedoraproject.org/wiki/MinGW
arch = any
license = GPL
diff --git a/PKGBUILD b/PKGBUILD
index a934adc8106c..169956d3e2d1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
pkgname=mingw-w64-cmake
pkgver=1
-pkgrel=10
+pkgrel=11
arch=(any)
pkgdesc="CMake wrapper for MinGW (mingw-w64)"
depends=('cmake' 'mingw-w64-gcc' 'mingw-w64-pkg-config')
diff --git a/toolchain-mingw.cmake b/toolchain-mingw.cmake
index 313168f86fc0..1a6b4a51dc5d 100644
--- a/toolchain-mingw.cmake
+++ b/toolchain-mingw.cmake
@@ -12,6 +12,7 @@ set (CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
# for libraries and headers in the target directories
set (CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set (CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
+set (CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)
# Make sure Qt can be detected by CMake
set (QT_BINARY_DIR /usr/@TRIPLE@/bin /usr/bin)