@@ -124,22 +124,22 @@ def package_info(self):
124
124
self .cpp_info .names ["cmake_find_package" ] = "rapidcheck"
125
125
self .cpp_info .names ["cmake_find_package_multi" ] = "rapidcheck"
126
126
127
- self .cpp_info .components ["core " ].set_property ("cmake_target_name" , "rapidcheck" )
128
- self .cpp_info .components ["core " ].builddirs .append (self ._module_subfolder )
129
- self .cpp_info .components ["core " ].set_property ("cmake_build_modules" , [self ._module_file_rel_path ])
130
- self .cpp_info .components ["core " ].libs = ["rapidcheck" ]
127
+ self .cpp_info .components ["rapidcheck_rapidcheck " ].set_property ("cmake_target_name" , "rapidcheck" )
128
+ self .cpp_info .components ["rapidcheck_rapidcheck " ].builddirs .append (self ._module_subfolder )
129
+ self .cpp_info .components ["rapidcheck_rapidcheck " ].set_property ("cmake_build_modules" , [self ._module_file_rel_path ])
130
+ self .cpp_info .components ["rapidcheck_rapidcheck " ].libs = ["rapidcheck" ]
131
131
version = self .version [4 :]
132
132
if tools .Version (version ) < "20201218" :
133
133
if self .options .enable_rtti :
134
- self .cpp_info .components ["core " ].defines .append ("RC_USE_RTTI" )
134
+ self .cpp_info .components ["rapidcheck_rapidcheck " ].defines .append ("RC_USE_RTTI" )
135
135
else :
136
136
if not self .options .enable_rtti :
137
- self .cpp_info .components ["core " ].defines .append ("RC_DONT_USE_RTTI" )
137
+ self .cpp_info .components ["rapidcheck_rapidcheck " ].defines .append ("RC_DONT_USE_RTTI" )
138
138
139
139
if self .options .enable_catch :
140
- self .cpp_info .components ["rapidcheck_catch" ].requires = ["core " , "catch2::catch2" ]
140
+ self .cpp_info .components ["rapidcheck_catch" ].requires = ["rapidcheck_rapidcheck " , "catch2::catch2" ]
141
141
if self .options .enable_gmock :
142
- self .cpp_info .components ["rapidcheck_gmock" ].requires = ["core " , "gtest::gtest" ]
142
+ self .cpp_info .components ["rapidcheck_gmock" ].requires = ["rapidcheck_rapidcheck " , "gtest::gtest" ]
143
143
if self .options .enable_gtest :
144
- self .cpp_info .components ["rapidcheck_gtest" ].requires = ["core " , "gtest::gtest" ]
144
+ self .cpp_info .components ["rapidcheck_gtest" ].requires = ["rapidcheck_rapidcheck " , "gtest::gtest" ]
145
145
0 commit comments