def METHOD_NAME(self):
    if self.settings.os == "Windows":
        self.cpp_info.libs = ["pdcurses"]
    elif self.settings.os in ("FreeBSD", "Linux"):
        self.cpp_info.includedirs.append(os.path.join("include", "xcurses"))
        self.cpp_info.libs = ["XCurses"]