netcdf-c: add comment to PR with CMake option rename
This commit is contained in:
parent
a593b751b9
commit
23b436074b
@ -330,6 +330,8 @@ def backup_nc_config(self):
|
||||
|
||||
class CMakeBuilder(AnyBuilder, cmake.CMakeBuilder):
|
||||
def cmake_args(self):
|
||||
# In 4.9.3, all CMake options were prefixed.
|
||||
# Ref. https://github.com/Unidata/netcdf-c/pull/2895
|
||||
nc = "NETCDF_" if self.spec.satisfies("@4.9.3:") else ""
|
||||
base_cmake_args = [
|
||||
self.define_from_variant("BUILD_SHARED_LIBS", "shared"),
|
||||
|
Loading…
Reference in New Issue
Block a user