]> git.proxmox.com Git - ceph.git/blame - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/chromaprint/fix_lrintf_detection.patch
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / chromaprint / fix_lrintf_detection.patch
CommitLineData
1e59de90
TL
1diff --git a/CMakeLists.txt b/CMakeLists.txt\r
2index 3a0eecb..4fa5e8d 100644\r
3--- a/CMakeLists.txt\r
4+++ b/CMakeLists.txt\r
5@@ -17,6 +17,7 @@ set_property(CACHE FFT_LIB PROPERTY STRINGS avfft fftw3 fftw3f kissfft vdsp)\r
6 \r
7 include(CMakePushCheckState)\r
8 include(CheckFunctionExists)\r
9+include(CheckSymbolExists)\r
10 include(CheckCXXCompilerFlag)\r
11 \r
12 find_package(Threads)\r
13@@ -37,8 +38,8 @@ endif()\r
14 \r
15 cmake_push_check_state(RESET)\r
16 set(CMAKE_REQUIRED_LIBRARIES -lm)\r
17-check_function_exists(lrintf HAVE_LRINTF)\r
18-check_function_exists(round HAVE_ROUND)\r
19+check_symbol_exists(lrintf math.h HAVE_LRINTF)\r
20+check_symbol_exists(round math.h HAVE_ROUND)\r
21 cmake_pop_check_state()\r
22 \r
23 add_definitions(\r