diff options
Diffstat (limited to 'toolchain-mingw.cmake')
-rw-r--r-- | toolchain-mingw.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
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) |