Skip to content

[netCDF] Fix dependency on embree (ParaView CI error) #12169

@Neumann-A

Description

@Neumann-A

@JackBoosY The real culprit for the paraview CI error is the netCDF target.

set_target_properties(netCDF::netcdf PROPERTIES
  INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include;${_IMPORT_PREFIX}/include"
  INTERFACE_LINK_LIBRARIES "${_IMPORT_PREFIX}/lib/libmath.a;ZLIB::ZLIB;hdf5::hdf5-static;hdf5::hdf5_hl-static;CURL::libcurl"
)

So the following needs fixing:

  • add embree as a feature to netCDF and fix the build-depends. Deactivate the search for embree otherwise.
  • replace the direct library link with the embree maths target
  • add the appropriate find_dependency call to netCDFConfig.cmake if build with the feature

Metadata

Metadata

Assignees

Labels

category:port-bugThe issue is with a library, which is something the port should already support

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions