[Commits] [wesnoth/wesnoth] fb0151: cmake: Fix regression in FindFriBiDi

GitHub noreply at github.com
Fri Apr 10 05:59:37 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: fb0151072642ffe39508b6e4dd569504bd0f6228
      https://github.com/wesnoth/wesnoth/commit/fb0151072642ffe39508b6e4dd569504bd0f6228
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-04-10 (Fri, 10 Apr 2015)

  Changed paths:
    M cmake/FindFriBiDi.cmake

  Log Message:
  -----------
  cmake: Fix regression in FindFriBiDi

Fixes CMake being unable to find FriBiDi here on Debian jessie.

Commit 651344ee1be08eeeddccf04b9f7d19a6a0f3e2c2 introduced something
that looks more like post-processing syntax used by MacPorts and doesn't
appear in CMake's documentation. Reverting this commit fixes FriBiDi
detection for me, but the original approach of hardcoding search paths
seems unnecessary as far back as CMake 2.6.0, our minimum supported
version. This is because find_library() and find_path() both use CMake's
configured system prefixes automatically and provide a PATH_SUFFIXES
option with suffixes to use for e.g. locating FriBiDi's include dir
(/usr/include/fribidi here).





More information about the Commits mailing list