]> git.proxmox.com Git - ceph.git/blame - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/rbdl/001_x64_number_of_sections_exceeded_in_object_file_patch.diff
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / rbdl / 001_x64_number_of_sections_exceeded_in_object_file_patch.diff
CommitLineData
1e59de90
TL
1diff --git a/CMakeLists.txt b/CMakeLists.txt
2index b2db532da..42c004380 100644
3--- a/CMakeLists.txt
4+++ b/CMakeLists.txt
5@@ -112,6 +112,10 @@ SET ( RBDL_SOURCES
6 src/Kinematics.cc
7 )
8
9+IF (MSVC)
10+ SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /bigobj")
11+ENDIF (MSVC)
12+
13 IF (MSVC AND NOT RBDL_BUILD_STATIC)
14 MESSAGE (FATAL_ERROR, "Compiling RBDL as a DLL currently not supported. Please enable RBDL_BUILD_STATIC.")
15 ENDIF (MSVC AND NOT RBDL_BUILD_STATIC)