File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ class Hdf5Conan(ConanFile):
39
39
"parallel" : False ,
40
40
}
41
41
42
- generators = "cmake"
42
+ generators = "cmake" , "cmake_find_package_multi"
43
43
44
44
@property
45
45
def _source_subfolder (self ):
@@ -244,6 +244,7 @@ def _config_libname(lib):
244
244
self .cpp_info .components [component_name ].set_property ("cmake_build_modules" , [self ._module_file_variables_rel_path ])
245
245
self .cpp_info .components [component_name ].libs = [_config_libname (alias_target )]
246
246
self .cpp_info .components [component_name ].requires = requirements
247
+ self .cpp_info .components [component_name ].builddirs = [os .path .join ("lib" , "cmake" )]
247
248
248
249
# TODO: to remove in conan v2 once cmake_find_package_* generators removed
249
250
self .cpp_info .components [component_name ].names ["cmake_find_package" ] = component
You can’t perform that action at this time.
0 commit comments