]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/ignition-cmake2/FindGTS.patch
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / ignition-cmake2 / FindGTS.patch
1 diff --git a/cmake/FindGTS.cmake b/cmake/FindGTS.cmake
2 index ad00a9715..a83d8af40 100644
3 --- a/cmake/FindGTS.cmake
4 +++ b/cmake/FindGTS.cmake
5 @@ -67,6 +67,26 @@ else()
6 # 2.1 Need glib library
7 find_library(GLIB_LIBRARY glib-2.0)
8 list(APPEND GTS_LIBRARIES "${GLIB_LIBRARY}")
9 + find_path(GLIB_INCLUDE_DIRS glib.h
10 + HINTS
11 + ${CMAKE_FIND_ROOT_PATH}
12 + PATH
13 + ${CMAKE_FIND_ROOT_PATH}
14 + PATH_SUFFIXES
15 + include
16 + include/glib-2.0
17 + DOC "glib header include dir"
18 + )
19 + find_path(GLIB_CONFIG_INCLUDE_DIRS glibconfig.h
20 + HINTS
21 + ${CMAKE_FIND_ROOT_PATH}
22 + PATHS
23 + ${CMAKE_FIND_ROOT_PATH}
24 + PATH_SUFFIXES
25 + lib/glib-2.0/include
26 + doc "glib header include dir"
27 + )
28 + list(APPEND GTS_INCLUDE_DIRS ${GLIB_INCLUDE_DIRS} ${GLIB_CONFIG_INCLUDE_DIRS})
29
30 if (GTS_FOUND)
31 # We need to manually specify the pkgconfig entry (and type of entry),