Skip to content
  • rakuco@webkit.org's avatar
    [EFL] Resolve CMake warnings on overlapping search paths for EFL jhbuild-enabled build · eefa73d8
    rakuco@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=84707
    
    Reviewed by Gustavo Noronha Silva.
    
    Most of the warnings have been fixed now that FindCairo.cmake and
    FindGLIB.cmake have been rewritten. The remaining one, related to
    FindFontconfig.cmake, shows up when building on a 64-bit
    Debian-based systems.
    
    jhbuild installs libraries into lib64/ by default on 64-bit Linux
    installations, while CMake does not look for libraries in lib64/
    when /etc/debian_version exists on the system. The FIND_LIBRARY()
    would then sometimes end up using the system installation instead of
    the jhbuild one, causing mismatches and, when pkg-config is not used
    at all, failing to find libraries altogether.
    
    * efl/jhbuildrc: Set the CMAKE_LIBRARY_PATH environment variable
    when use_lib64 is set to force CMake to look into lib64/ regardless
    of the presence of /etc/debian_version.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127003 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    eefa73d8