]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/libjpeg-turbo/workaround_cmake_system_processor.patch
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / libjpeg-turbo / workaround_cmake_system_processor.patch
1 diff --git a/CMakeLists.txt b/CMakeLists.txt
2 index b2f137a..3754095 100644
3 --- a/CMakeLists.txt
4 +++ b/CMakeLists.txt
5 @@ -40,7 +40,7 @@ message(STATUS "VERSION = ${VERSION}, BUILD = ${BUILD}")
6
7 # Detect CPU type and whether we're building 64-bit or 32-bit code
8 math(EXPR BITS "${CMAKE_SIZEOF_VOID_P} * 8")
9 -string(TOLOWER ${CMAKE_SYSTEM_PROCESSOR} CMAKE_SYSTEM_PROCESSOR_LC)
10 +string(TOLOWER "${CMAKE_SYSTEM_PROCESSOR}" CMAKE_SYSTEM_PROCESSOR_LC)
11 if(CMAKE_SYSTEM_PROCESSOR_LC MATCHES "x86_64" OR
12 CMAKE_SYSTEM_PROCESSOR_LC MATCHES "amd64" OR
13 CMAKE_SYSTEM_PROCESSOR_LC MATCHES "i[0-9]86" OR