def METHOD_NAME(self):
    apply_conandata_patches(self)
    replace_in_file(self, os.path.join(self.source_folder, "CMakeLists.txt"),
                    "SET(CMAKE_MODULE_PATH \"${CMAKE_SOURCE_DIR}/cmake/modules\")",
                    "LIST(APPEND CMAKE_MODULE_PATH \"${CMAKE_SOURCE_DIR}/cmake/modules\")")
    if not self.options.get_safe("fPIC", True):
        replace_in_file(self, os.path.join(self.source_folder, "src", "CMakeLists.txt"), "POSITION_INDEPENDENT_CODE ON", "")