mirror of
https://github.com/openwrt/openwrt.git
synced 2025-12-29 01:10:01 +04:00
cmake's find_package looks at host paths first for some reason. Switch
to using pkgconfig for the search, matching other modules.
Fixes: 3848cf458e ("tools/cmake: Build without some included libs")
Signed-off-by: Rosen Penev <rosenp@gmail.com>