You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think there is some confusion between Bzip2 and Bz2 in the Cmake build.
Namely, there are two Cmake detection modules (here and here), but only the Bz2 one seems to be called, leading to only the Bz2_FOUND variable being set.
In the plugin section, the bzip2 plugin is build unconditionally, either with the vendored copy of libbzip2 or the system one, see
Unless there is a separate Bz2 library or something else that I am not aware of, the Cmake documentation seems to suggest that one should instead use FIND_PACKAGE(Bzip2) and remove the usage of Bz2?
The text was updated successfully, but these errors were encountered:
I think there is some confusion between Bzip2 and Bz2 in the Cmake build.
Namely, there are two Cmake detection modules (here and here), but only the Bz2 one seems to be called, leading to only the
Bz2_FOUND
variable being set.In the plugin section, the bzip2 plugin is build unconditionally, either with the vendored copy of libbzip2 or the system one, see
netcdf-c/plugins/CMakeLists.txt
Lines 97 to 103 in 9137873
However, the install of the plugin is conditioned on the
Bzip2_FOUND
variable, which is never set, meaning the plugin will never be installed, seenetcdf-c/plugins/CMakeLists.txt
Lines 116 to 118 in 9137873
Unless there is a separate Bz2 library or something else that I am not aware of, the Cmake documentation seems to suggest that one should instead use
FIND_PACKAGE(Bzip2)
and remove the usage of Bz2?The text was updated successfully, but these errors were encountered: