libdeflate now provides pkg-config file

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2022-10-20 05:32:31 +03:00
parent ee1ad6f6d9
commit 256a22d602
11 changed files with 26 additions and 34 deletions

View file

@ -1,12 +1,11 @@
# - Try to find D-Bus message bus system
# Once done this will define
# Try to find D-Bus message bus system, once done this will define:
#
# DBUS_FOUND - system has D-Bus message bus system
# DBUS_INCLUDES - the D-Bus message bus system include directory
# DBUS_ARCH_INCLUDES - the D-Bus message bus architecture include directory
# DBUS_LIBRARIES - the libraries needed to use D-Bus message bus system
#
# Copyright (C) 2015, Ivailo Monev, <xakepa10@gmail.com>
# Copyright (C) 2015 Ivailo Monev <xakepa10@gmail.com>
#
# Redistribution and use is allowed according to the terms of the BSD license.

View file

@ -1,30 +1,30 @@
# - Try to find libdeflate
# Once done this will define
# Try to find libdeflate, once done this will define:
#
# DEFLATE_FOUND - system has libdeflate
# DEFLATE_INCLUDES - the libdeflate include directory
# DEFLATE_LIBRARIES - the libraries needed to use libdeflate
#
# Copyright (C) 2022, Ivailo Monev, <xakepa10@gmail.com>
# Copyright (C) 2022 Ivailo Monev <xakepa10@gmail.com>
#
# Redistribution and use is allowed according to the terms of the BSD license.
# libdeflate does not provide pkg-config files
find_package(PkgConfig REQUIRED)
include(FindPackageHandleStandardArgs)
pkg_check_modules(PC_DEFLATE QUIET libdeflate)
find_path(DEFLATE_INCLUDES
NAMES libdeflate.h
HINTS $ENV{DEFLATEDIR}/include
HINTS $ENV{DEFLATEDIR}/include ${PC_DEFLATE_INCLUDEDIR}
)
find_library(DEFLATE_LIBRARIES
NAMES deflate
HINTS $ENV{DEFLATEDIR}/lib
HINTS $ENV{DEFLATEDIR}/lib ${PC_DEFLATE_LIBDIR}
)
find_package_handle_standard_args(Deflate
VERSION_VAR PC_DEFLATE_VERSION
REQUIRED_VARS DEFLATE_LIBRARIES DEFLATE_INCLUDES
)

View file

@ -1,15 +1,14 @@
# - Try to find execinfo
# Once done this will define
# Try to find execinfo, once done this will define:
#
# EXECINFO_FOUND - system has execinfo
# EXECINFO_INCLUDES - the execinfo include directory
# EXECINFO_LIBRARIES - the libraries needed to use execinfo
#
# Copyright (C) 2016, Ivailo Monev, <xakepa10@gmail.com>
# Copyright (C) 2016 Ivailo Monev <xakepa10@gmail.com>
#
# Redistribution and use is allowed according to the terms of the BSD license.
# execinfo does not provide pkg-config files
# execinfo does not provide pkg-config file
include(CMakePushCheckState)
include(FindPackageHandleStandardArgs)

View file

@ -1,11 +1,10 @@
# - Try to find Fontconfig
# Once done this will define
# Try to find Fontconfig, once done this will define:
#
# FONTCONFIG_FOUND - system has Fontconfig
# FONTCONFIG_INCLUDES - the Fontconfig include directory
# FONTCONFIG_LIBRARIES - the libraries needed to use Fontconfig
#
# Copyright (C) 2015, Ivailo Monev, <xakepa10@gmail.com>
# Copyright (C) 2015 Ivailo Monev <xakepa10@gmail.com>
#
# Redistribution and use is allowed according to the terms of the BSD license.

View file

@ -1,11 +1,10 @@
# - Try to find International Components for Unicode
# Once done this will define
# Try to find International Components for Unicode, once done this will define:
#
# ICU_FOUND - system has ICU
# ICU_INCLUDES - the ICU include directory
# ICU_LIBRARIES - the libraries needed to use ICU
#
# Copyright (C) 2015, Ivailo Monev, <xakepa10@gmail.com>
# Copyright (C) 2015 Ivailo Monev <xakepa10@gmail.com>
#
# Redistribution and use is allowed according to the terms of the BSD license.

View file

@ -1,12 +1,11 @@
# - Try to find intl
# Once done this will define
# Try to find intl, once done this will define:
#
# INTL_FOUND - system has intl
# INTL_INCLUDES - the intl include directory
# INTL_LIBRARIES - the libraries needed to use intl
# INTL_MSGFMT - the msgfmt binary
#
# Copyright (C) 2016, Ivailo Monev, <xakepa10@gmail.com>
# Copyright (C) 2016 Ivailo Monev <xakepa10@gmail.com>
#
# Redistribution and use is allowed according to the terms of the BSD license.

View file

@ -1,11 +1,10 @@
# - Try to find Jansson
# Once done this will define
# Try to find Jansson, once done this will define:
#
# JANSSON_FOUND - system has Jansson
# JANSSON_INCLUDES - the Jansson include directory
# JANSSON_LIBRARIES - the libraries needed to use Jansson
#
# Copyright (C) 2021, Ivailo Monev, <xakepa10@gmail.com>
# Copyright (C) 2021 Ivailo Monev <xakepa10@gmail.com>
#
# Redistribution and use is allowed according to the terms of the BSD license.

View file

@ -1,10 +1,9 @@
# - Try to find xdg-utils
# Once done this will define
# Try to find xdg-utils, once done this will define:
#
# XDGUTILS_FOUND - system has xdg-utils
# XDGUTILS_OPEN - the xdg-open binary
#
# Copyright (C) 2021, Ivailo Monev, <xakepa10@gmail.com>
# Copyright (C) 2021 Ivailo Monev <xakepa10@gmail.com>
#
# Redistribution and use is allowed according to the terms of the BSD license.

View file

@ -1,11 +1,10 @@
# - Try to find xxHash
# Once done this will define
# Try to find xxHash, once done this will define:
#
# XXHASH_FOUND - system has xxHash
# XXHASH_INCLUDES - the xxHash include directory
# XXHASH_LIBRARIES - the libraries needed to use xxHash
#
# Copyright (C) 2022, Ivailo Monev, <xakepa10@gmail.com>
# Copyright (C) 2022 Ivailo Monev <xakepa10@gmail.com>
#
# Redistribution and use is allowed according to the terms of the BSD license.

View file

@ -1,4 +1,4 @@
# Copyright (C) 2015, Ivailo Monev, <xakepa10@gmail.com>
# Copyright (C) 2015 Ivailo Monev <xakepa10@gmail.com>
# Redistribution and use is allowed according to the terms of the BSD license.
# a function to append definitions to KATIE_DEFINITIONS which is stored in

View file

@ -1,4 +1,4 @@
# Copyright (C) 2015, Ivailo Monev, <xakepa10@gmail.com>
# Copyright (C) 2015 Ivailo Monev <xakepa10@gmail.com>
# Redistribution and use is allowed according to the terms of the BSD license.
# UNIFDEF_EXECUTABLE and HEADERS_DIRECTORY origin from the macro call