vcpkg/ports/cgns/defines.patch
Alexander Neumann 03766d0834
[CGNS/ParaView] Add new ports (#9960)
* [cgns] add port cgns

* [paraview] add new port

* [paraview] correct dependencies; disable catalyst

* [VTK/ParaView] Make ParaView build

* [paraview] add missing patch

* [paraview] add cgns patch

* [paraview] add qt plugin patches back in. Remove in the future

* [vtk] slightly improved patches

* [vtk] don't disable findPython

* [paraview] add more features

* [paraview] remove X11Extras from OSX

* [vtk] make vtk workcorrectly with python and prepare for paraview with python

* [paraview] Python fixes

* [paraview] small bin -> lib replacement fix for static builds

* [vtk] fix patch path

* update baseline to exclude paraview for the time being on osx and linux.
requires a fix in qt5-base linkage of libpq.

* [paraview]try setting LD_LIBRARY_PATH for unix systems

* [paraview] a bit of cleanup

* update baseline

* fix typo in baseline

* [paraview] remove unnecessary patch

* [vtk] replace custom patch with upstream patch

* [paraview] cleanup in the portfile.

* Update ports/paraview/CONTROL

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2020-06-23 10:20:18 -07:00

17 lines
489 B
Diff

diff --git a/src/cgnstypes.h.in b/src/cgnstypes.h.in
index 98c4e7fdc..8c6bcea62 100644
--- a/src/cgnstypes.h.in
+++ b/src/cgnstypes.h.in
@@ -29,6 +29,11 @@
#ifndef CGNSTYPES_H
#define CGNSTYPES_H
+#define CG_BUILD_HDF5 @BUILDHDF5@
+#define CG_BUILD_FORTRAN @BUILDFORTRAN@
+#define CG_BUILD_PARALLEL @BUILDPARALLEL@
+#define CG_BUILD_BASESCOPE @BUILDBASESCOPE@
+
#define CG_BUILD_LEGACY @BUILDLEGACY@
#define CG_BUILD_64BIT @BUILD64BIT@
#define CG_BUILD_SCOPE @BUILDSCOPE@