Skip to content

Commit 8bc0832

Browse files
author
Mark Jan van Kampen
committed
Renames core to be more in line with the rest
1 parent 0bff4d8 commit 8bc0832

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

recipes/rapidcheck/all/conanfile.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -124,22 +124,22 @@ def package_info(self):
124124
self.cpp_info.names["cmake_find_package"] = "rapidcheck"
125125
self.cpp_info.names["cmake_find_package_multi"] = "rapidcheck"
126126

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"]
131131
version = self.version[4:]
132132
if tools.Version(version) < "20201218":
133133
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")
135135
else:
136136
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")
138138

139139
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"]
141141
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"]
143143
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"]
145145

0 commit comments

Comments
 (0)