We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ee187a commit 3bcf852Copy full SHA for 3bcf852
recipes/netcdf/all/conanfile.py
@@ -106,6 +106,11 @@ def package(self):
106
os.remove(filename)
107
tools.rmdir(os.path.join(self.package_folder, "share"))
108
109
+ if self.settings.os == "Windows":
110
+ for dll_file in glob.glob(os.path.join(self.package_folder, "bin", "*.dll")):
111
+ if os.path.basename(dll_file).startswith(("concrt", "msvcp", "vcruntime")):
112
+ os.unlink(dll_file)
113
+
114
def package_info(self):
115
self.cpp_info.names["cmake_find_package"] = "netCDF"
116
self.cpp_info.names["cmake_find_package_multi"] = "netCDF"
0 commit comments