]> git.proxmox.com Git - ceph.git/blame - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/nana/config.cmake.in
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / nana / config.cmake.in
CommitLineData
1e59de90
TL
1@PACKAGE_INIT@
2include(CMakeFindDependencyMacro)
3
4if(UNIX)
5 find_dependency(Threads)
6 find_dependency(Freetype)
7 find_dependency(X11)
8 find_dependency(Fontconfig)
9endif()
10
11option(NANA_ENABLE_PNG "Enable PNG support" @NANA_ENABLE_PNG@)
12option(NANA_ENABLE_JPEG "Enable JPEG support" @NANA_ENABLE_JPEG@)
13
14if(NANA_ENABLE_PNG)
15 find_dependency(PNG)
16endif()
17
18if(NANA_ENABLE_JPEG)
19 find_dependency(JPEG)
20endif()
21
22include("${CMAKE_CURRENT_LIST_DIR}/unofficial-nana-targets.cmake")
23
24if(UNIX)
25 target_link_libraries(unofficial::nana::nana INTERFACE Fontconfig::Fontconfig ${X11_LIBRARIES} ${X11_Xft_LIB})
26endif()
27
28if(NANA_ENABLE_JPEG)
29 target_link_libraries(unofficial::nana::nana INTERFACE ${JPEG_LIBRARIES})
30endif()