We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
[spdlog] spdlog/1.4.2: header_only=True is broken.
This configuration was never tested for 1.4.2, neither here nor in the previous bincrafters edition.

1. (This is the error seen in the attached log.) Not an expert on how conandata.yml trick-shots work, but I think on conanfile.py:77 `tools.patch(tools.get(**self.conan_data["patches"][self.version]))` should be `tools.patch(**self.conan_data["patches"][self.version])`. Not sure how that one happened (controls Cee and Vee...). If I fix that, we get past this, but
2. The patch file it uses no longer works, and this is the case as well in the original `bincrafters/stable` edition, because everyone just bumps up version numbers without checking. 🙄👏

### Package and Environment Details (include every applicable attribute)
  * Package Name/Version: **spdlog/1.4.2**
  * Operating System+version: **Mac OS Mojave**
  * Compiler+version: **n/a**
  * Docker image: **n/a**
  * Conan version: **conan 1.20.0**
  * Python version: **Python 3.7.5**


### Conan profile (output of `conan profile show default` or `conan profile show <profile>` if custom profile is in use)
```
[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=apple-clang
compiler.libcxx=libc++
compiler.version=10.0
os=Macos
os_build=Macos
[options]
header_only=True
[build_requires]
[env]
```


### Steps to reproduce (Include if Applicable)

$ conan install spdlog/1.4.2@ -o header_only=True --build missing

### Logs (Include/Attach if Applicable)
<details><summary>Click to expand log</summary>

```
Configuration:
[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=apple-clang
compiler.libcxx=libc++
compiler.version=10.0
os=Macos
os_build=Macos
[options]
header_only=True
[build_requires]
[env]

Installing package: spdlog/1.4.2
Requirements
    fmt/6.0.0 from 'conan-center' - Cache
    spdlog/1.4.2 from 'conan-center' - Cache
Packages
    fmt/6.0.0:853c4b61e2571e98cd7b854c1cda6bc111b8b32c - Cache
    spdlog/1.4.2:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Build

fmt/6.0.0: Already installed!
Downloading conan_sources.tgz: 100%|##########| 1.34k/1.34k [00:00<00:00, 2.73MB/s]
Decompressing conan_sources.tgz: 100%|##########| 1.34k/1.34k [00:00<00:00, 641kB/s]
spdlog/1.4.2: Configuring sources in /Users/martin/.conan/data/spdlog/1.4.2/_/_/source
Downloading v1.4.2.tar.gz: 100%|##########| 254k/254k [00:00<00:00, 3.37MB/s]

spdlog/1.4.2: Copying sources to build folder
spdlog/1.4.2: Building your package in /Users/martin/.conan/data/spdlog/1.4.2/_/_/build/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9
spdlog/1.4.2: Generator cmake created conanbuildinfo.cmake
spdlog/1.4.2: Generator cmake_find_package created Findfmt.cmake
spdlog/1.4.2: Calling build()
spdlog/1.4.2: 
spdlog/1.4.2: ERROR: Package '5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9' build failed
spdlog/1.4.2: WARN: Build folder /Users/martin/.conan/data/spdlog/1.4.2/_/_/build/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9
ERROR: spdlog/1.4.2: Error in build() method, line 77
	tools.patch(tools.get(**self.conan_data["patches"][self.version]))
	TypeError: get() got an unexpected keyword argument 'base_path'
```

</details>


--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `recipes/spdlog/1.4.x/conanfile.py`
Content:
```
1 import os
2 from conans import CMake, ConanFile, tools
3 from conans.errors import ConanInvalidConfiguration
4 
5 
6 class SpdlogConan(ConanFile):
7     name = "spdlog"
8     description = "Fast C++ logging library"
9     url = "https://github.com/conan-io/conan-center-index"
10     homepage = "https://github.com/gabime/spdlog"
11     topics = ("conan", "spdlog", "logging", "header-only")
12     license = "MIT"
13     exports_sources = ["CMakeLists.txt", "patches/*"]
14     generators = "cmake", "cmake_find_package"
15     settings = "os", "arch", "compiler", "build_type"
16     options = {"shared": [True, False],
17                "fPIC": [True, False],
18                "header_only": [True, False],
19                "wchar_support": [True, False],
20                "wchar_filenames": [True, False],
21                "no_exceptions": [True, False]}
22     default_options = {"shared": False,
23                        "fPIC": True,
24                        "header_only": False,
25                        "wchar_support": False,
26                        "wchar_filenames": False,
27                        "no_exceptions": False}
28 
29     @property
30     def _source_subfolder(self):
31         return "source_subfolder"
32 
33     def config_options(self):
34         if self.settings.os == "Windows":
35             del self.options.fPIC
36 
37     def configure(self):
38         if self.options.header_only:
39             del self.options.shared
40             del self.options.fPIC
41         elif self.settings.os == "Windows" and self.options.shared:
42             raise ConanInvalidConfiguration("spdlog shared lib is not yet supported under windows")
43         if self.settings.os != "Windows" and \
44            (self.options.wchar_support or self.options.wchar_filenames):
45             raise ConanInvalidConfiguration("wchar is not yet supported under windows")
46 
47     def requirements(self):
48         self.requires("fmt/6.0.0")
49 
50     def source(self):
51         tools.get(**self.conan_data["sources"][self.version])
52         extracted_dir = self.name + "-" + self.version
53         os.rename(extracted_dir, self._source_subfolder)
54 
55     def _configure_cmake(self):
56         cmake = CMake(self)
57         cmake.definitions["SPDLOG_BUILD_EXAMPLE"] = False
58         cmake.definitions["SPDLOG_BUILD_EXAMPLE_HO"] = False
59         cmake.definitions["SPDLOG_BUILD_TESTS"] = False
60         cmake.definitions["SPDLOG_BUILD_TESTS_HO"] = False
61         cmake.definitions["SPDLOG_BUILD_BENCH"] = False
62         cmake.definitions["SPDLOG_FMT_EXTERNAL"] = True
63         cmake.definitions["SPDLOG_BUILD_SHARED"] = not self.options.header_only and self.options.shared
64         cmake.definitions["SPDLOG_WCHAR_SUPPORT"] = self.options.wchar_support
65         cmake.definitions["SPDLOG_WCHAR_FILENAMES"] = self.options.wchar_filenames
66         cmake.definitions["SPDLOG_INSTALL"] = True
67         cmake.definitions["SPDLOG_NO_EXCEPTIONS"] = self.options.no_exceptions
68         cmake.configure()
69         return cmake
70 
71     def _disable_werror(self):
72         tools.replace_in_file(os.path.join(self._source_subfolder, "cmake", "utils.cmake"), "/WX", "")
73 
74     def build(self):
75         self._disable_werror()
76         if self.options.header_only:
77             tools.patch(tools.get(**self.conan_data["patches"][self.version]))
78         cmake = self._configure_cmake()
79         cmake.build()
80 
81     def package(self):
82         self.copy("LICENSE", dst='licenses', src=self._source_subfolder)
83         cmake = self._configure_cmake()
84         cmake.install()
85         tools.rmdir(os.path.join(self.package_folder, "lib", "cmake"))
86         tools.rmdir(os.path.join(self.package_folder, "lib", "pkgconfig"))
87         tools.rmdir(os.path.join(self.package_folder, "lib", "spdlog", "cmake"))
88 
89     def package_id(self):
90         if self.options.header_only:
91             self.info.header_only()
92 
93     def package_info(self):
94         if self.options.header_only:
95             self.cpp_info.defines = ["SPDLOG_HEADER_ONLY", "SPDLOG_FMT_EXTERNAL"]
96         else:
97             self.cpp_info.libs = tools.collect_libs(self)
98             self.cpp_info.defines = ["SPDLOG_COMPILED_LIB", "SPDLOG_FMT_EXTERNAL"]
99         if self.options.wchar_support:
100             self.cpp_info.defines.append("SPDLOG_WCHAR_TO_UTF8_SUPPORT")
101         if self.options.wchar_filenames:
102             self.cpp_info.defines.append("SPDLOG_WCHAR_FILENAMES")
103         if self.options.no_exceptions:
104             self.cpp_info.defines.append("SPDLOG_NO_EXCEPTIONS")
105         if tools.os_info.is_linux:
106             self.cpp_info.libs.append("pthread")
107
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/recipes/spdlog/1.4.x/conanfile.py b/recipes/spdlog/1.4.x/conanfile.py
--- a/recipes/spdlog/1.4.x/conanfile.py
+++ b/recipes/spdlog/1.4.x/conanfile.py
@@ -74,7 +74,7 @@
     def build(self):
         self._disable_werror()
         if self.options.header_only:
-            tools.patch(tools.get(**self.conan_data["patches"][self.version]))
+            tools.patch(**self.conan_data["patches"][self.version])
         cmake = self._configure_cmake()
         cmake.build()

{"golden_diff": "diff --git a/recipes/spdlog/1.4.x/conanfile.py b/recipes/spdlog/1.4.x/conanfile.py\n--- a/recipes/spdlog/1.4.x/conanfile.py\n+++ b/recipes/spdlog/1.4.x/conanfile.py\n@@ -74,7 +74,7 @@\n     def build(self):\n         self._disable_werror()\n         if self.options.header_only:\n-            tools.patch(tools.get(**self.conan_data[\"patches\"][self.version]))\n+            tools.patch(**self.conan_data[\"patches\"][self.version])\n         cmake = self._configure_cmake()\n         cmake.build()\n", "issue": "[spdlog] spdlog/1.4.2: header_only=True is broken.\nThis configuration was never tested for 1.4.2, neither here nor in the previous bincrafters edition.\r\n\r\n1. (This is the error seen in the attached log.) Not an expert on how conandata.yml trick-shots work, but I think on conanfile.py:77 `tools.patch(tools.get(**self.conan_data[\"patches\"][self.version]))` should be `tools.patch(**self.conan_data[\"patches\"][self.version])`. Not sure how that one happened (controls Cee and Vee...). If I fix that, we get past this, but\r\n2. The patch file it uses no longer works, and this is the case as well in the original `bincrafters/stable` edition, because everyone just bumps up version numbers without checking. \ud83d\ude44\ud83d\udc4f\r\n\r\n### Package and Environment Details (include every applicable attribute)\r\n  * Package Name/Version: **spdlog/1.4.2**\r\n  * Operating System+version: **Mac OS Mojave**\r\n  * Compiler+version: **n/a**\r\n  * Docker image: **n/a**\r\n  * Conan version: **conan 1.20.0**\r\n  * Python version: **Python 3.7.5**\r\n\r\n\r\n### Conan profile (output of `conan profile show default` or `conan profile show <profile>` if custom profile is in use)\r\n```\r\n[settings]\r\narch=x86_64\r\narch_build=x86_64\r\nbuild_type=Release\r\ncompiler=apple-clang\r\ncompiler.libcxx=libc++\r\ncompiler.version=10.0\r\nos=Macos\r\nos_build=Macos\r\n[options]\r\nheader_only=True\r\n[build_requires]\r\n[env]\r\n```\r\n\r\n\r\n### Steps to reproduce (Include if Applicable)\r\n\r\n$ conan install spdlog/1.4.2@ -o header_only=True --build missing\r\n\r\n### Logs (Include/Attach if Applicable)\r\n<details><summary>Click to expand log</summary>\r\n\r\n```\r\nConfiguration:\r\n[settings]\r\narch=x86_64\r\narch_build=x86_64\r\nbuild_type=Release\r\ncompiler=apple-clang\r\ncompiler.libcxx=libc++\r\ncompiler.version=10.0\r\nos=Macos\r\nos_build=Macos\r\n[options]\r\nheader_only=True\r\n[build_requires]\r\n[env]\r\n\r\nInstalling package: spdlog/1.4.2\r\nRequirements\r\n    fmt/6.0.0 from 'conan-center' - Cache\r\n    spdlog/1.4.2 from 'conan-center' - Cache\r\nPackages\r\n    fmt/6.0.0:853c4b61e2571e98cd7b854c1cda6bc111b8b32c - Cache\r\n    spdlog/1.4.2:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Build\r\n\r\nfmt/6.0.0: Already installed!\r\nDownloading conan_sources.tgz: 100%|##########| 1.34k/1.34k [00:00<00:00, 2.73MB/s]\r\nDecompressing conan_sources.tgz: 100%|##########| 1.34k/1.34k [00:00<00:00, 641kB/s]\r\nspdlog/1.4.2: Configuring sources in /Users/martin/.conan/data/spdlog/1.4.2/_/_/source\r\nDownloading v1.4.2.tar.gz: 100%|##########| 254k/254k [00:00<00:00, 3.37MB/s]\r\n\r\nspdlog/1.4.2: Copying sources to build folder\r\nspdlog/1.4.2: Building your package in /Users/martin/.conan/data/spdlog/1.4.2/_/_/build/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\r\nspdlog/1.4.2: Generator cmake created conanbuildinfo.cmake\r\nspdlog/1.4.2: Generator cmake_find_package created Findfmt.cmake\r\nspdlog/1.4.2: Calling build()\r\nspdlog/1.4.2: \r\nspdlog/1.4.2: ERROR: Package '5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9' build failed\r\nspdlog/1.4.2: WARN: Build folder /Users/martin/.conan/data/spdlog/1.4.2/_/_/build/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\r\nERROR: spdlog/1.4.2: Error in build() method, line 77\r\n\ttools.patch(tools.get(**self.conan_data[\"patches\"][self.version]))\r\n\tTypeError: get() got an unexpected keyword argument 'base_path'\r\n```\r\n\r\n</details>\r\n\n", "before_files": [{"content": "import os\nfrom conans import CMake, ConanFile, tools\nfrom conans.errors import ConanInvalidConfiguration\n\n\nclass SpdlogConan(ConanFile):\n    name = \"spdlog\"\n    description = \"Fast C++ logging library\"\n    url = \"https://github.com/conan-io/conan-center-index\"\n    homepage = \"https://github.com/gabime/spdlog\"\n    topics = (\"conan\", \"spdlog\", \"logging\", \"header-only\")\n    license = \"MIT\"\n    exports_sources = [\"CMakeLists.txt\", \"patches/*\"]\n    generators = \"cmake\", \"cmake_find_package\"\n    settings = \"os\", \"arch\", \"compiler\", \"build_type\"\n    options = {\"shared\": [True, False],\n               \"fPIC\": [True, False],\n               \"header_only\": [True, False],\n               \"wchar_support\": [True, False],\n               \"wchar_filenames\": [True, False],\n               \"no_exceptions\": [True, False]}\n    default_options = {\"shared\": False,\n                       \"fPIC\": True,\n                       \"header_only\": False,\n                       \"wchar_support\": False,\n                       \"wchar_filenames\": False,\n                       \"no_exceptions\": False}\n\n    @property\n    def _source_subfolder(self):\n        return \"source_subfolder\"\n\n    def config_options(self):\n        if self.settings.os == \"Windows\":\n            del self.options.fPIC\n\n    def configure(self):\n        if self.options.header_only:\n            del self.options.shared\n            del self.options.fPIC\n        elif self.settings.os == \"Windows\" and self.options.shared:\n            raise ConanInvalidConfiguration(\"spdlog shared lib is not yet supported under windows\")\n        if self.settings.os != \"Windows\" and \\\n           (self.options.wchar_support or self.options.wchar_filenames):\n            raise ConanInvalidConfiguration(\"wchar is not yet supported under windows\")\n\n    def requirements(self):\n        self.requires(\"fmt/6.0.0\")\n\n    def source(self):\n        tools.get(**self.conan_data[\"sources\"][self.version])\n        extracted_dir = self.name + \"-\" + self.version\n        os.rename(extracted_dir, self._source_subfolder)\n\n    def _configure_cmake(self):\n        cmake = CMake(self)\n        cmake.definitions[\"SPDLOG_BUILD_EXAMPLE\"] = False\n        cmake.definitions[\"SPDLOG_BUILD_EXAMPLE_HO\"] = False\n        cmake.definitions[\"SPDLOG_BUILD_TESTS\"] = False\n        cmake.definitions[\"SPDLOG_BUILD_TESTS_HO\"] = False\n        cmake.definitions[\"SPDLOG_BUILD_BENCH\"] = False\n        cmake.definitions[\"SPDLOG_FMT_EXTERNAL\"] = True\n        cmake.definitions[\"SPDLOG_BUILD_SHARED\"] = not self.options.header_only and self.options.shared\n        cmake.definitions[\"SPDLOG_WCHAR_SUPPORT\"] = self.options.wchar_support\n        cmake.definitions[\"SPDLOG_WCHAR_FILENAMES\"] = self.options.wchar_filenames\n        cmake.definitions[\"SPDLOG_INSTALL\"] = True\n        cmake.definitions[\"SPDLOG_NO_EXCEPTIONS\"] = self.options.no_exceptions\n        cmake.configure()\n        return cmake\n\n    def _disable_werror(self):\n        tools.replace_in_file(os.path.join(self._source_subfolder, \"cmake\", \"utils.cmake\"), \"/WX\", \"\")\n\n    def build(self):\n        self._disable_werror()\n        if self.options.header_only:\n            tools.patch(tools.get(**self.conan_data[\"patches\"][self.version]))\n        cmake = self._configure_cmake()\n        cmake.build()\n\n    def package(self):\n        self.copy(\"LICENSE\", dst='licenses', src=self._source_subfolder)\n        cmake = self._configure_cmake()\n        cmake.install()\n        tools.rmdir(os.path.join(self.package_folder, \"lib\", \"cmake\"))\n        tools.rmdir(os.path.join(self.package_folder, \"lib\", \"pkgconfig\"))\n        tools.rmdir(os.path.join(self.package_folder, \"lib\", \"spdlog\", \"cmake\"))\n\n    def package_id(self):\n        if self.options.header_only:\n            self.info.header_only()\n\n    def package_info(self):\n        if self.options.header_only:\n            self.cpp_info.defines = [\"SPDLOG_HEADER_ONLY\", \"SPDLOG_FMT_EXTERNAL\"]\n        else:\n            self.cpp_info.libs = tools.collect_libs(self)\n            self.cpp_info.defines = [\"SPDLOG_COMPILED_LIB\", \"SPDLOG_FMT_EXTERNAL\"]\n        if self.options.wchar_support:\n            self.cpp_info.defines.append(\"SPDLOG_WCHAR_TO_UTF8_SUPPORT\")\n        if self.options.wchar_filenames:\n            self.cpp_info.defines.append(\"SPDLOG_WCHAR_FILENAMES\")\n        if self.options.no_exceptions:\n            self.cpp_info.defines.append(\"SPDLOG_NO_EXCEPTIONS\")\n        if tools.os_info.is_linux:\n            self.cpp_info.libs.append(\"pthread\")\n", "path": "recipes/spdlog/1.4.x/conanfile.py"}], "after_files": [{"content": "import os\nfrom conans import CMake, ConanFile, tools\nfrom conans.errors import ConanInvalidConfiguration\n\n\nclass SpdlogConan(ConanFile):\n    name = \"spdlog\"\n    description = \"Fast C++ logging library\"\n    url = \"https://github.com/conan-io/conan-center-index\"\n    homepage = \"https://github.com/gabime/spdlog\"\n    topics = (\"conan\", \"spdlog\", \"logging\", \"header-only\")\n    license = \"MIT\"\n    exports_sources = [\"CMakeLists.txt\", \"patches/*\"]\n    generators = \"cmake\", \"cmake_find_package\"\n    settings = \"os\", \"arch\", \"compiler\", \"build_type\"\n    options = {\"shared\": [True, False],\n               \"fPIC\": [True, False],\n               \"header_only\": [True, False],\n               \"wchar_support\": [True, False],\n               \"wchar_filenames\": [True, False],\n               \"no_exceptions\": [True, False]}\n    default_options = {\"shared\": False,\n                       \"fPIC\": True,\n                       \"header_only\": False,\n                       \"wchar_support\": False,\n                       \"wchar_filenames\": False,\n                       \"no_exceptions\": False}\n\n    @property\n    def _source_subfolder(self):\n        return \"source_subfolder\"\n\n    def config_options(self):\n        if self.settings.os == \"Windows\":\n            del self.options.fPIC\n\n    def configure(self):\n        if self.options.header_only:\n            del self.options.shared\n            del self.options.fPIC\n        elif self.settings.os == \"Windows\" and self.options.shared:\n            raise ConanInvalidConfiguration(\"spdlog shared lib is not yet supported under windows\")\n        if self.settings.os != \"Windows\" and \\\n           (self.options.wchar_support or self.options.wchar_filenames):\n            raise ConanInvalidConfiguration(\"wchar is not yet supported under windows\")\n\n    def requirements(self):\n        self.requires(\"fmt/6.0.0\")\n\n    def source(self):\n        tools.get(**self.conan_data[\"sources\"][self.version])\n        extracted_dir = self.name + \"-\" + self.version\n        os.rename(extracted_dir, self._source_subfolder)\n\n    def _configure_cmake(self):\n        cmake = CMake(self)\n        cmake.definitions[\"SPDLOG_BUILD_EXAMPLE\"] = False\n        cmake.definitions[\"SPDLOG_BUILD_EXAMPLE_HO\"] = False\n        cmake.definitions[\"SPDLOG_BUILD_TESTS\"] = False\n        cmake.definitions[\"SPDLOG_BUILD_TESTS_HO\"] = False\n        cmake.definitions[\"SPDLOG_BUILD_BENCH\"] = False\n        cmake.definitions[\"SPDLOG_FMT_EXTERNAL\"] = True\n        cmake.definitions[\"SPDLOG_BUILD_SHARED\"] = not self.options.header_only and self.options.shared\n        cmake.definitions[\"SPDLOG_WCHAR_SUPPORT\"] = self.options.wchar_support\n        cmake.definitions[\"SPDLOG_WCHAR_FILENAMES\"] = self.options.wchar_filenames\n        cmake.definitions[\"SPDLOG_INSTALL\"] = True\n        cmake.definitions[\"SPDLOG_NO_EXCEPTIONS\"] = self.options.no_exceptions\n        cmake.configure()\n        return cmake\n\n    def _disable_werror(self):\n        tools.replace_in_file(os.path.join(self._source_subfolder, \"cmake\", \"utils.cmake\"), \"/WX\", \"\")\n\n    def build(self):\n        self._disable_werror()\n        if self.options.header_only:\n            tools.patch(**self.conan_data[\"patches\"][self.version])\n        cmake = self._configure_cmake()\n        cmake.build()\n\n    def package(self):\n        self.copy(\"LICENSE\", dst='licenses', src=self._source_subfolder)\n        cmake = self._configure_cmake()\n        cmake.install()\n        tools.rmdir(os.path.join(self.package_folder, \"lib\", \"cmake\"))\n        tools.rmdir(os.path.join(self.package_folder, \"lib\", \"pkgconfig\"))\n        tools.rmdir(os.path.join(self.package_folder, \"lib\", \"spdlog\", \"cmake\"))\n\n    def package_id(self):\n        if self.options.header_only:\n            self.info.header_only()\n\n    def package_info(self):\n        if self.options.header_only:\n            self.cpp_info.defines = [\"SPDLOG_HEADER_ONLY\", \"SPDLOG_FMT_EXTERNAL\"]\n        else:\n            self.cpp_info.libs = tools.collect_libs(self)\n            self.cpp_info.defines = [\"SPDLOG_COMPILED_LIB\", \"SPDLOG_FMT_EXTERNAL\"]\n        if self.options.wchar_support:\n            self.cpp_info.defines.append(\"SPDLOG_WCHAR_TO_UTF8_SUPPORT\")\n        if self.options.wchar_filenames:\n            self.cpp_info.defines.append(\"SPDLOG_WCHAR_FILENAMES\")\n        if self.options.no_exceptions:\n            self.cpp_info.defines.append(\"SPDLOG_NO_EXCEPTIONS\")\n        if tools.os_info.is_linux:\n            self.cpp_info.libs.append(\"pthread\")\n", "path": "recipes/spdlog/1.4.x/conanfile.py"}]}