diff options
author | Michel Zou | 2016-03-16 18:36:32 +0100 |
---|---|---|
committer | Michel Zou | 2016-03-16 18:36:32 +0100 |
commit | 759b27e5d290cb9186c835089f2d84452ee77688 (patch) | |
tree | 5ab37b5ad7adc27faa5f2131bcb5801fce19b394 | |
parent | 397bf32be62766f77f012c2266a469a1bf215930 (diff) | |
download | aur-759b27e5d290cb9186c835089f2d84452ee77688.tar.gz |
set CMAKE_FIND_ROOT_PATH_MODE_PACKAGE
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | toolchain-mingw.cmake | 1 |
3 files changed, 5 insertions, 2 deletions
@@ -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 @@ -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) |