pcsx2/cmake
Miguel A. Colón Vélez 6dd3094802 Fix the rare case in which EGL is not found.
EGL sometimes is not found. Checklib 1st does
.
string(TOLOWER ${lib} lower_lib)
pkg_search_module(${var} QUIET ${lower_lib})
.
Therefore this part should be equivalent since we always compare lower.
.
This part seems to not find anything and then it does.
.
find_library(${var}_LIBRARIES ${lib})
.
Here it also does not find anything since it tries to find libegl
while the library is called libEGL therefore I changed the name to upper.
to avoid
_internal_message("-- ${lib} not found (miss lib)")
.
It could fail in the unlikely event that someone renamed libEGL to libegl.
This bug is triggered when you combine crosscompiling from amd64 to
i386 with Debian multiarch paths. For other distros it should work with
pkg_search_module normally.
2014-12-24 11:41:04 -05:00
..
BuildParameters.cmake cmake: add a new option to select the doc path in package mode 2014-12-21 16:51:41 +01:00
CheckLib.cmake cmake: add a new GTK3.0 option 2014-12-10 22:07:48 +01:00
FindCg.cmake Fix Cg find for Gentoo amd64 2014-05-18 22:51:09 +04:00
FindGlew.cmake cmake: sed /PROJECT_SOURCE_DIR/CMAKE_SOURCE_DIR/ 2014-03-30 16:36:02 +02:00
FindLibc.cmake cmake: fix some linking issue with gold linker (AFAIK only fedora use it for the moment) 2011-09-06 19:07:55 +00:00
Pcsx2Utils.cmake Use cmake variable "BIN_DIR" for binaries installation 2014-09-27 22:26:42 +04:00
SearchForStuff.cmake Fix the rare case in which EGL is not found. 2014-12-24 11:41:04 -05:00
SelectPcsx2Plugins.cmake cmake: regression to select SDL/GTK + 64bits fix 2014-12-22 19:31:32 +01:00
Translation.cmake build.sh: allow to replace build directory by a symlink 2014-09-02 21:21:46 +02:00