]> git.proxmox.com Git - ceph.git/blame - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/stb/FindStb.cmake
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / stb / FindStb.cmake
CommitLineData
1e59de90
TL
1# Distributed under the OSI-approved BSD 3-Clause License.
2
3#.rst:
4# FindStb
5# ------------
6#
7# Find the Stb include headers.
8#
9# Result Variables
10# ^^^^^^^^^^^^^^^^
11#
12# This module defines the following variables:
13#
14# ``Stb_FOUND``
15# True if Stb library found
16#
17# ``Stb_INCLUDE_DIR``
18# Location of Stb headers
19#
20
21include(${CMAKE_ROOT}/Modules/FindPackageHandleStandardArgs.cmake)
22include(${CMAKE_ROOT}/Modules/SelectLibraryConfigurations.cmake)
23
24if(NOT Stb_INCLUDE_DIR)
25 find_path(Stb_INCLUDE_DIR NAMES stb_image.h PATHS ${Stb_DIR} PATH_SUFFIXES include)
26endif()
27
28find_package_handle_standard_args(Stb DEFAULT_MSG Stb_INCLUDE_DIR)
29mark_as_advanced(Stb_INCLUDE_DIR)