]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/graphqlparser/static-compile-fix.patch
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / graphqlparser / static-compile-fix.patch
diff --git a/ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/graphqlparser/static-compile-fix.patch b/ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/graphqlparser/static-compile-fix.patch
new file mode 100644 (file)
index 0000000..3f2756d
--- /dev/null
@@ -0,0 +1,16 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 56741c2..313308a 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -142,8 +142,11 @@ if (UNIX)
+ elseif(WIN32)\r
+   INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/graphqlparser.lib\r
+       DESTINATION lib)\r
++  # do not install pdb when static compilation.\r
++  if (BUILD_SHARED_LIBS)\r
+   INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/graphqlparser.pdb\r
+       DESTINATION bin)\r
++  endif()\r
+ endif()\r
\r
+ IF (test)\r