]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/osg/disable-present3d-staticview-in-linux.patch
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / osg / disable-present3d-staticview-in-linux.patch
diff --git a/ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/osg/disable-present3d-staticview-in-linux.patch b/ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/osg/disable-present3d-staticview-in-linux.patch
new file mode 100644 (file)
index 0000000..fd76db3
--- /dev/null
@@ -0,0 +1,36 @@
+diff --git a/applications/CMakeLists.txt b/applications/CMakeLists.txt
+index ab491c6..bee3d1f 100644
+--- a/applications/CMakeLists.txt
++++ b/applications/CMakeLists.txt
+@@ -32,12 +32,16 @@ IF(DYNAMIC_OPENSCENEGRAPH)
+     ADD_SUBDIRECTORY(osgconv)
+     ADD_SUBDIRECTORY(osgfilecache)
+     ADD_SUBDIRECTORY(osgversion)
+-    ADD_SUBDIRECTORY(present3D)
++    if (NOT UNIX)
++        ADD_SUBDIRECTORY(present3D)
++    endif()
+ ELSE()
+     # need to define this on win32 or linker cries about _declspecs
+     ADD_DEFINITIONS(-DOSG_LIBRARY_STATIC)
+     ADD_SUBDIRECTORY(osgversion)
+-    ADD_SUBDIRECTORY(present3D)
++    if (NOT UNIX)
++        ADD_SUBDIRECTORY(present3D)
++    endif()
+ ENDIF()
+diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
+index 788e507..3c550bc 100644
+--- a/examples/CMakeLists.txt
++++ b/examples/CMakeLists.txt
+@@ -245,7 +245,7 @@ ELSE(DYNAMIC_OPENSCENEGRAPH)
+     IF(OSG_BUILD_PLATFORM_IPHONE)
+         ADD_SUBDIRECTORY(osgviewerIPhone)
+-    ELSE()
++    ELSEIF (NOT UNIX)
+         ADD_SUBDIRECTORY(osgstaticviewer)
+     ENDIF()