]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/netcdf-c/config-pkg-location.patch
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / netcdf-c / config-pkg-location.patch
diff --git a/ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/netcdf-c/config-pkg-location.patch b/ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/netcdf-c/config-pkg-location.patch
new file mode 100644 (file)
index 0000000..13f0aea
--- /dev/null
@@ -0,0 +1,15 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index bd7c4f8..e4e92c6 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -2050,7 +2050,9 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/ncdap_test/pingurl.c ${CMAKE_CURRENT_
+ # Create CMake package configuration files. With these, other packages using
+ # cmake should be able to find netcdf using find_package and find_library.
+ # The EXPORT call is paired with one in liblib.
+-set(ConfigPackageLocation ${CMAKE_INSTALL_LIBDIR}/cmake/netCDF)
++if(NOT DEFINED ConfigPackageLocation)
++  set(ConfigPackageLocation ${CMAKE_INSTALL_LIBDIR}/cmake/netCDF)
++endif(NOT DEFINED ConfigPackageLocation)
+ install(EXPORT netCDFTargets
+   DESTINATION ${ConfigPackageLocation}