summaryrefslogtreecommitdiffstats
path: root/src/cmake/modules/FindFriBiDi.cmake
blob: 6dbfdf886a96e096defeb7c7a419e1393a38b757 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# This file is part of MXE. See LICENSE.md for licensing information.

message("== Custom MXE File: " ${CMAKE_CURRENT_LIST_FILE})

if(NOT PKG_CONFIG_FOUND)
  find_package(PkgConfig REQUIRED)
endif()

pkg_check_modules(FRIBIDI fribidi)

# for backward compatiblity
set(FRIBIDI_LIBRARY ${FRIBIDI_LIBRARIES})
set(FRIBIDI_INCLUDE_DIR ${FRIBIDI_INCLUDE_DIRS})
set(FRIBIDI_VERSION_STRING ${FRIBIDI_VERSION})