def METHOD_NAME(self):
    apply_conandata_patches(self)
    if Version(self.version) < "1.0.6":
        replace_in_file(self, os.path.join(self.source_folder, "CMakeLists.txt"),
                              "add_subdirectory(tests)", "")
    cmake = CMake(self)
    cmake.configure()
    cmake.METHOD_NAME()