mirror of
https://github.com/OpenMW/openmw.git
synced 2026-05-06 07:56:40 -04:00
823e7bea38
`libfind_pkg_detect` used `pkg_check_modules`, which requires all the
given modules to be found.
This means it always failed for MyGUI, which passes
`MyGUI${MYGUI_STATIC_SUFFIX} MYGUI${MYGUI_STATIC_SUFFIX}` to it.
Replaces `pkg_check_modules` with `pkg_search_module`, which finds the
first match instead.