early-access version 2853

This commit is contained in:
pineappleEA
2022-07-23 03:01:36 +02:00
parent 1f2b5081b5
commit 1f111bb69c
8955 changed files with 418777 additions and 999 deletions

29
externals/vcpkg/ports/paraview/cgns.patch vendored Executable file
View File

@@ -0,0 +1,29 @@
diff --git a/CMake/FindCGNS.cmake b/CMake/FindCGNS.cmake
index 005f1afd9..a45103a9f 100644
--- a/CMake/FindCGNS.cmake
+++ b/CMake/FindCGNS.cmake
@@ -16,7 +16,7 @@ mark_as_advanced(CGNS_INCLUDE_DIR)
find_library(CGNS_LIBRARY
NAMES
- cgns
+ cgnsdll cgns
DOC "CGNS library")
mark_as_advanced(CGNS_LIBRARY)
@@ -45,4 +45,15 @@ if (CGNS_FOUND)
IMPORTED_LOCATION "${CGNS_LIBRARY}"
INTERFACE_INCLUDE_DIRECTORIES "${CGNS_INCLUDE_DIR}")
endif ()
+ include(CMakeFindDependencyMacro)
+ find_dependency(hdf5 CONFIG)
+ if(TARGET hdf5::hdf5-shared)
+ set_property(TARGET CGNS::CGNS APPEND PROPERTY
+ INTERFACE_LINK_LIBRARIES "hdf5::hdf5-shared")
+ elseif(TARGET hdf5::hdf5-static)
+ set_property(TARGET CGNS::CGNS APPEND PROPERTY
+ INTERFACE_LINK_LIBRARIES "hdf5::hdf5-static")
+ else()
+ message(FATAL_ERROR "No HDF5 target to link cgns against")
+ endif()
endif ()