We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bc0832 commit c55c750Copy full SHA for c55c750
recipes/rapidcheck/all/conanfile.py
@@ -81,6 +81,8 @@ def _configure_cmake(self):
81
return self._cmake
82
83
def build(self):
84
+ if self.options.enable_gmock and not self.deps_cpp_info["gtest"].build_gmock:
85
+ raise ConanInvalidConfiguration("The option `rapidcheck:enable_gmock` requires gtest:build_gmock=True`")
86
for patch in self.conan_data["patches"][self.version]:
87
tools.patch(**patch)
88
cmake = self._configure_cmake()
0 commit comments