BOUT-dev icon indicating copy to clipboard operation
BOUT-dev copied to clipboard

Try to do the right thing for linking netCDF::netcdf

Open dschwoerer opened this issue 1 year ago • 1 comments

This will certainly fail in some cases, but I think there is in general no easy way to get the needed flags for linking. If anybody has better ideas: great :-)

dschwoerer avatar Oct 21 '24 12:10 dschwoerer

Seems like a reasonable attempt!

That whole bit is getting quite long now, but be nice to pull it out into a configure_bout_config_script function somewhere else to keep the main CMakeFiles.txt a bit tidier

ZedThree avatar Oct 21 '24 13:10 ZedThree