Set CMAKE_FIND_ROOT_PATH_MODE_PACKAGE in cmake toolchain files
This commit is contained in:
parent
508578c74b
commit
6dffdd3418
@ -6,7 +6,7 @@
|
||||
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
|
||||
|
||||
Name: mingw-filesystem
|
||||
Version: 138
|
||||
Version: 139
|
||||
Release: 1%{?dist}
|
||||
Summary: MinGW cross compiler base filesystem and environment
|
||||
|
||||
@ -363,6 +363,9 @@ echo ".so man1/pkgconf.1" > %{buildroot}%{_mandir}/man1/x86_64-w64-mingw32ucrt-p
|
||||
%dir %{_prefix}/lib/debug/%{_prefix}/x86_64-w64-mingw32ucrt
|
||||
|
||||
%changelog
|
||||
* Fri May 20 2022 Sandro Mani <manisandro@gmail.com> - 139-1
|
||||
- Set CMAKE_FIND_ROOT_PATH_MODE_PACKAGE in cmake toolchain files
|
||||
|
||||
* Wed May 11 2022 Sandro Mani <manisandro@gmail.com> - 138-1
|
||||
- Drop CMAKE_INSTALL_LIBDIR from mingw-cmake macros
|
||||
|
||||
|
@ -17,9 +17,10 @@ SET(CMAKE_FIND_ROOT_PATH /usr/i686-w64-mingw32/sys-root/mingw)
|
||||
|
||||
# search for programs in the build host directories
|
||||
SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
|
||||
# for libraries and headers in the target directories
|
||||
# for libraries, headers and packages 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/i686-w64-mingw32/bin /usr/bin)
|
||||
|
@ -17,9 +17,10 @@ SET(CMAKE_FIND_ROOT_PATH /usr/x86_64-w64-mingw32/sys-root/mingw)
|
||||
|
||||
# search for programs in the build host directories
|
||||
SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
|
||||
# for libraries and headers in the target directories
|
||||
# for libraries, headers and packages 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/x86_64-w64-mingw32/bin /usr/bin)
|
||||
|
Loading…
Reference in New Issue
Block a user