Commit Graph

5 Commits (24eb1165fcdfe9a4a6561750adac901c6d809e77)

Author SHA1 Message Date
Gleb Mazovetskiy 823e7bea38 Fix MyGUI detection
`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.
4 years ago
Roman Proskuryakov 3df57b1833 Fixes LibFindMacros for libfind_process 8 years ago
Roman Proskuryakov 57b75d2cd1 Teaches LibFindMacros to find version from 'const int NAME = 42;' 9 years ago
Roman Proskuryakov 280b20ccb7 Fix libfind_process for quiet packages 9 years ago
Roman Proskuryakov 81dd164006 Adds CMake module LibFindMacros to reduce pain in find modules 9 years ago