[package] spdlog/1.6.1: embedded fmt conflicts with conan fmt 
<!-- 
  Please don't forget to update the issue title.
  Include all applicable information to help us reproduce your problem.
-->

### Package and Environment Details (include every applicable attribute)
  * Package Name/Version: **spdlog/1.6.1**
  * Operating System+version: **Windows 10**
  * Compiler+version: **MSVC 2019**
  * Conan version: **conan 1.26.0**
  * Python version: **Python 3.7.2**


### Conan profile (output of `conan profile show default` or `conan profile show <profile>` if custom profile is in use)
```
[settings]
os=Windows
os_build=Windows
arch=x86_64
arch_build=x86_64
compiler=Visual Studio
compiler.version=16
build_type=Release
[options]
[build_requires]
[env]
```


### Steps to reproduce (Include if Applicable)
* create a conan file with a requirement on fmt/7.0.1 and spdlog/1.6.1
* when building spdlog gets an error because it embeds fmt/6.2.1
* workaround is to use fmt/6.2.1

This one is admittedly a bit weird...it's really a library problem but it can potentially be fixed in the recipe. I guess the most you can hope for is that spdlog pulls in fmt/6.2.1 via a conan requirement, and then you get a nice error message from conan saying there's a conflict rather than trying to extract the real problem from the compilation errors.

diff --git a/recipes/spdlog/all/conandata.yml b/recipes/spdlog/all/conandata.yml
index 43f69c656..2cfb87cd3 100644
--- a/recipes/spdlog/all/conandata.yml
+++ b/recipes/spdlog/all/conandata.yml
@@ -11,6 +11,9 @@ sources:
   "1.6.1":
     sha256: 378a040d91f787aec96d269b0c39189f58a6b852e4cbf9150ccfacbe85ebbbfc
     url: https://github.com/gabime/spdlog/archive/v1.6.1.tar.gz
+  "1.7.0":
+    sha256: f0114a4d3c88be9e696762f37a7c379619443ce9d668546c61b21d41affe5b62
+    url: https://github.com/gabime/spdlog/archive/v1.7.0.tar.gz
 patches:
   "1.4.2":
     patch_file: "patches/0001-header-only.patch"
@@ -24,3 +27,6 @@ patches:
   "1.6.1":
     patch_file: "patches/0003-header-only.patch"
     base_path: "source_subfolder"
+  "1.7.0":
+    patch_file: "patches/0003-header-only.patch"
+    base_path: "source_subfolder"
diff --git a/recipes/spdlog/all/conanfile.py b/recipes/spdlog/all/conanfile.py
index 8affc6804..808285e53 100644
--- a/recipes/spdlog/all/conanfile.py
+++ b/recipes/spdlog/all/conanfile.py
@@ -11,7 +11,7 @@ class SpdlogConan(ConanFile):
     homepage = "https://github.com/gabime/spdlog"
     topics = ("conan", "spdlog", "logging", "header-only")
     license = "MIT"
-    exports_sources = ["CMakeLists.txt", "patches/*"]
+    exports_sources = ["CMakeLists.txt"]
     generators = "cmake", "cmake_find_package"
     settings = "os", "arch", "compiler", "build_type"
     options = {"shared": [True, False],
@@ -48,7 +48,9 @@ class SpdlogConan(ConanFile):
             raise ConanInvalidConfiguration("wchar is not yet supported under windows")
 
     def requirements(self):
-        if Version(self.version) >= "1.5.0":
+        if Version(self.version) >= "1.7.0":
+            self.requires("fmt/7.0.1")
+        elif Version(self.version) >= "1.5.0":
             self.requires("fmt/6.2.0")
         else:
             self.requires("fmt/6.0.0")
@@ -68,6 +70,7 @@ class SpdlogConan(ConanFile):
         self._cmake.definitions["SPDLOG_BUILD_TESTS_HO"] = False
         self._cmake.definitions["SPDLOG_BUILD_BENCH"] = False
         self._cmake.definitions["SPDLOG_FMT_EXTERNAL"] = True
+        self._cmake.definitions["SPDLOG_FMT_EXTERNAL_HO"] = self.options["fmt"].header_only
         self._cmake.definitions["SPDLOG_BUILD_SHARED"] = not self.options.header_only and self.options.shared
         self._cmake.definitions["SPDLOG_WCHAR_SUPPORT"] = self.options.wchar_support
         self._cmake.definitions["SPDLOG_WCHAR_FILENAMES"] = self.options.wchar_filenames
@@ -82,19 +85,24 @@ class SpdlogConan(ConanFile):
         tools.replace_in_file(os.path.join(self._source_subfolder, "cmake", "utils.cmake"), "/WX", "")
 
     def build(self):
+        if tools.Version(self.version) < "1.7" and tools.Version(self.deps_cpp_info["fmt"].version) >= 7:
+            raise ConanInvalidConfiguration("The project spdlog/{} requires fmt <7.x".format(self.version))
+
         self._disable_werror()
-        if self.options.header_only:
-            tools.patch(**self.conan_data["patches"][self.version])
-        cmake = self._configure_cmake()
-        cmake.build()
+        if not self.options.header_only:
+            cmake = self._configure_cmake()
+            cmake.build()
 
     def package(self):
         self.copy("LICENSE", dst="licenses", src=self._source_subfolder)
-        cmake = self._configure_cmake()
-        cmake.install()
-        tools.rmdir(os.path.join(self.package_folder, "lib", "cmake"))
-        tools.rmdir(os.path.join(self.package_folder, "lib", "pkgconfig"))
-        tools.rmdir(os.path.join(self.package_folder, "lib", "spdlog", "cmake"))
+        if self.options.header_only:
+            self.copy(pattern="*.h", dst="include", src=os.path.join(self._source_subfolder, "include"))
+        else:
+            cmake = self._configure_cmake()
+            cmake.install()
+            tools.rmdir(os.path.join(self.package_folder, "lib", "cmake"))
+            tools.rmdir(os.path.join(self.package_folder, "lib", "pkgconfig"))
+            tools.rmdir(os.path.join(self.package_folder, "lib", "spdlog", "cmake"))
 
     def package_id(self):
         if self.options.header_only:
@@ -102,15 +110,22 @@ class SpdlogConan(ConanFile):
 
     def package_info(self):
         if self.options.header_only:
-            self.cpp_info.defines = ["SPDLOG_FMT_EXTERNAL"]
+            component_name = "spdlog_header_only"
+        else:
+            component_name = "libspdlog"
+            self.cpp_info.components["libspdlog"].libs = tools.collect_libs(self)
+            self.cpp_info.components["libspdlog"].defines.append("SPDLOG_COMPILED_LIB")
+            
+        self.cpp_info.components[component_name].defines.append("SPDLOG_FMT_EXTERNAL")
+        if self.options["fmt"].header_only:
+            self.cpp_info.components[component_name].requires = ["fmt::fmt"]
         else:
-            self.cpp_info.libs = tools.collect_libs(self)
-            self.cpp_info.defines = ["SPDLOG_COMPILED_LIB", "SPDLOG_FMT_EXTERNAL"]
+            self.cpp_info.components[component_name].requires = ["fmt::fmt-header-only"]
         if self.options.wchar_support:
-            self.cpp_info.defines.append("SPDLOG_WCHAR_TO_UTF8_SUPPORT")
+            self.cpp_info.components[component_name].defines.append("SPDLOG_WCHAR_TO_UTF8_SUPPORT")
         if self.options.wchar_filenames:
-            self.cpp_info.defines.append("SPDLOG_WCHAR_FILENAMES")
+            self.cpp_info.components[component_name].defines.append("SPDLOG_WCHAR_FILENAMES")
         if self.options.no_exceptions:
-            self.cpp_info.defines.append("SPDLOG_NO_EXCEPTIONS")
+            self.cpp_info.components[component_name].defines.append("SPDLOG_NO_EXCEPTIONS")
         if self.settings.os == "Linux":
-            self.cpp_info.system_libs = ["pthread"]
+            self.cpp_info.components[component_name].system_libs = ["pthread"]
diff --git a/recipes/spdlog/all/patches/0001-header-only.patch b/recipes/spdlog/all/patches/0001-header-only.patch
deleted file mode 100644
index a2b616b57..000000000
--- a/recipes/spdlog/all/patches/0001-header-only.patch
+++ /dev/null
@@ -1,110 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 12320fb..756b493 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -76,48 +76,16 @@ find_package(Threads REQUIRED)
- 
- message(STATUS "Build type: " ${CMAKE_BUILD_TYPE})
- 
--#---------------------------------------------------------------------------------------
--# Static/Shared library (shared not supported in windows yet)
--#---------------------------------------------------------------------------------------
--set(SPDLOG_SRCS
--        src/spdlog.cpp
--        src/stdout_sinks.cpp
--        src/fmt.cpp
--        src/color_sinks.cpp
--        src/file_sinks.cpp
--        src/async.cpp)
--
--if (SPDLOG_BUILD_SHARED)
--    if(WIN32)
--        message(FATAL_ERROR "spdlog shared lib is not yet supported under windows")
--    endif()
--    add_library(spdlog SHARED ${SPDLOG_SRCS} ${SPDLOG_ALL_HEADERS})
--else()
--    add_library(spdlog STATIC ${SPDLOG_SRCS} ${SPDLOG_ALL_HEADERS})
--endif()
--
--add_library(spdlog::spdlog ALIAS spdlog)
--
--target_compile_definitions(spdlog PUBLIC SPDLOG_COMPILED_LIB)
--target_include_directories(spdlog PUBLIC
--        "$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/include>"
--        "$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>")
--target_link_libraries(spdlog PUBLIC Threads::Threads)
--spdlog_enable_warnings(spdlog)
--
--set_target_properties(spdlog PROPERTIES VERSION ${SPDLOG_VERSION} SOVERSION ${SPDLOG_VERSION_MAJOR})
--set_target_properties(spdlog PROPERTIES DEBUG_POSTFIX d)
--
- #---------------------------------------------------------------------------------------
- # Header only version
- #---------------------------------------------------------------------------------------
--add_library(spdlog_header_only INTERFACE)
--add_library(spdlog::spdlog_header_only ALIAS spdlog_header_only)
-+add_library(spdlog INTERFACE)
-+add_library(spdlog::spdlog ALIAS spdlog)
- 
--target_include_directories(spdlog_header_only INTERFACE
-+target_include_directories(spdlog INTERFACE
-         "$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/include>"
-         "$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>")
--target_link_libraries(spdlog_header_only INTERFACE Threads::Threads)
-+target_link_libraries(spdlog INTERFACE Threads::Threads)
- 
- 
- #---------------------------------------------------------------------------------------
-@@ -127,29 +95,22 @@ if(SPDLOG_FMT_EXTERNAL)
-     if (NOT TARGET fmt::fmt)
-         find_package(fmt REQUIRED)
-     endif ()
--    target_compile_definitions(spdlog PUBLIC SPDLOG_FMT_EXTERNAL)
--    target_link_libraries(spdlog PUBLIC fmt::fmt)
--
--    target_compile_definitions(spdlog_header_only INTERFACE SPDLOG_FMT_EXTERNAL)
--    target_link_libraries(spdlog_header_only INTERFACE fmt::fmt)
-+    target_compile_definitions(spdlog INTERFACE SPDLOG_FMT_EXTERNAL)
-+    target_link_libraries(spdlog INTERFACE fmt::fmt)
- 
-     set(PKG_CONFIG_REQUIRES fmt) # add dependecy to pkg-config
- endif()
- 
- if(SPDLOG_WCHAR_SUPPORT)
--	target_compile_definitions(spdlog PUBLIC SPDLOG_WCHAR_TO_UTF8_SUPPORT)
--	target_compile_definitions(spdlog_header_only INTERFACE SPDLOG_WCHAR_TO_UTF8_SUPPORT)
-+	target_compile_definitions(spdlog INTERFACE SPDLOG_WCHAR_TO_UTF8_SUPPORT)
-  endif()
- 
-  if(SPDLOG_WCHAR_FILENAMES)
--	target_compile_definitions(spdlog PUBLIC SPDLOG_WCHAR_FILENAMES)
--	target_compile_definitions(spdlog_header_only INTERFACE SPDLOG_WCHAR_FILENAMES)
-+	target_compile_definitions(spdlog INTERFACE SPDLOG_WCHAR_FILENAMES)
-  endif()
- 
-  if(SPDLOG_NO_EXCEPTIONS)
--	target_compile_definitions(spdlog PUBLIC SPDLOG_NO_EXCEPTIONS)	
--
--	target_compile_definitions(spdlog_header_only INTERFACE SPDLOG_NO_EXCEPTIONS)
-+	target_compile_definitions(spdlog INTERFACE SPDLOG_NO_EXCEPTIONS)
- 
-     if(NOT MSVC)
-         target_compile_options(spdlog PRIVATE -fno-exceptions)
-@@ -192,14 +153,9 @@ if (SPDLOG_INSTALL)
-     #---------------------------------------------------------------------------------------
-     # Include files
-     #---------------------------------------------------------------------------------------
--    install(DIRECTORY include/ DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}" PATTERN "fmt/bundled" EXCLUDE)
--    install(TARGETS spdlog spdlog_header_only EXPORT spdlog DESTINATION "${CMAKE_INSTALL_LIBDIR}")
--
--    if(NOT SPDLOG_FMT_EXTERNAL)
--        install(DIRECTORY include/${PROJECT_NAME}/fmt/bundled/
--                DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${PROJECT_NAME}/fmt/bundled/")
--    endif()
--
-+    install(TARGETS spdlog EXPORT spdlog DESTINATION "${CMAKE_INSTALL_LIBDIR}/spdlog")
-+    install(DIRECTORY include/${PROJECT_NAME}
-+            DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/")
-     #---------------------------------------------------------------------------------------
-     # Install pkg-config file
-     #---------------------------------------------------------------------------------------
diff --git a/recipes/spdlog/all/patches/0002-header-only.patch b/recipes/spdlog/all/patches/0002-header-only.patch
deleted file mode 100644
index d9e3a596e..000000000
--- a/recipes/spdlog/all/patches/0002-header-only.patch
+++ /dev/null
@@ -1,121 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 508a0b6..83fbbf2 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -94,52 +94,17 @@ option(SPDLOG_NO_ATOMIC_LEVELS "prevent spdlog from using of std::atomic log lev
- 
- find_package(Threads REQUIRED)
- message(STATUS "Build type: " ${CMAKE_BUILD_TYPE})
--#---------------------------------------------------------------------------------------
--# Static/Shared library (shared not supported in windows yet)
--#---------------------------------------------------------------------------------------
--set(SPDLOG_SRCS
--        src/spdlog.cpp
--        src/stdout_sinks.cpp
--        src/color_sinks.cpp
--        src/file_sinks.cpp
--        src/async.cpp)
--
--
--if(NOT SPDLOG_FMT_EXTERNAL AND NOT SPDLOG_FMT_EXTERNAL_HO)
--    list(APPEND SPDLOG_SRCS src/fmt.cpp)
--endif()
--
--if (SPDLOG_BUILD_SHARED)
--    if(WIN32)
--        message(FATAL_ERROR "spdlog shared lib is not yet supported under windows")
--    endif()
--    add_library(spdlog SHARED ${SPDLOG_SRCS} ${SPDLOG_ALL_HEADERS})
--else()
--    add_library(spdlog STATIC ${SPDLOG_SRCS} ${SPDLOG_ALL_HEADERS})
--endif()
--
--add_library(spdlog::spdlog ALIAS spdlog)
--
--target_compile_definitions(spdlog PUBLIC SPDLOG_COMPILED_LIB)
--target_include_directories(spdlog PUBLIC
--        "$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/include>"
--        "$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>")
--target_link_libraries(spdlog PUBLIC Threads::Threads)
--spdlog_enable_warnings(spdlog)
--
--set_target_properties(spdlog PROPERTIES VERSION ${SPDLOG_VERSION} SOVERSION ${SPDLOG_VERSION_MAJOR})
--set_target_properties(spdlog PROPERTIES DEBUG_POSTFIX d)
- 
- #---------------------------------------------------------------------------------------
- # Header only version
- #---------------------------------------------------------------------------------------
--add_library(spdlog_header_only INTERFACE)
--add_library(spdlog::spdlog_header_only ALIAS spdlog_header_only)
-+add_library(spdlog INTERFACE)
-+add_library(spdlog::spdlog ALIAS spdlog)
- 
--target_include_directories(spdlog_header_only INTERFACE
-+target_include_directories(spdlog INTERFACE
-         "$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/include>"
-         "$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>")
--target_link_libraries(spdlog_header_only INTERFACE Threads::Threads)
-+target_link_libraries(spdlog INTERFACE Threads::Threads)
- 
- 
- #---------------------------------------------------------------------------------------
-@@ -149,17 +114,8 @@ if(SPDLOG_FMT_EXTERNAL OR SPDLOG_FMT_EXTERNAL_HO)
-     if (NOT TARGET fmt::fmt)
-         find_package(fmt REQUIRED)
-     endif ()
--    target_compile_definitions(spdlog PUBLIC SPDLOG_FMT_EXTERNAL)
--    target_compile_definitions(spdlog_header_only INTERFACE SPDLOG_FMT_EXTERNAL)
--
--    # use external fmt-header-nly
--    if(SPDLOG_FMT_EXTERNAL_HO)
--        target_link_libraries(spdlog PUBLIC fmt::fmt-header-only)
--        target_link_libraries(spdlog_header_only INTERFACE fmt::fmt-header-only)
--    else() # use external compile fmt
--        target_link_libraries(spdlog PUBLIC fmt::fmt)
--        target_link_libraries(spdlog_header_only INTERFACE fmt::fmt)
--    endif()
-+    target_compile_definitions(spdlog INTERFACE SPDLOG_FMT_EXTERNAL)
-+    target_link_libraries(spdlog INTERFACE fmt::fmt)
- 
-     set(PKG_CONFIG_REQUIRES fmt) # add dependency to pkg-config
- endif()
-@@ -168,19 +124,15 @@ endif()
- # Misc definitions according to tweak options
- #---------------------------------------------------------------------------------------
- if(SPDLOG_WCHAR_SUPPORT)
--	target_compile_definitions(spdlog PUBLIC SPDLOG_WCHAR_TO_UTF8_SUPPORT)
--	target_compile_definitions(spdlog_header_only INTERFACE SPDLOG_WCHAR_TO_UTF8_SUPPORT)
-+	target_compile_definitions(spdlog INTERFACE SPDLOG_WCHAR_TO_UTF8_SUPPORT)
-  endif()
- 
-  if(SPDLOG_WCHAR_FILENAMES)
--	target_compile_definitions(spdlog PUBLIC SPDLOG_WCHAR_FILENAMES)
--	target_compile_definitions(spdlog_header_only INTERFACE SPDLOG_WCHAR_FILENAMES)
-+	target_compile_definitions(spdlog INTERFACE SPDLOG_WCHAR_FILENAMES)
-  endif()
- 
-  if(SPDLOG_NO_EXCEPTIONS)
--	target_compile_definitions(spdlog PUBLIC SPDLOG_NO_EXCEPTIONS)	
--
--	target_compile_definitions(spdlog_header_only INTERFACE SPDLOG_NO_EXCEPTIONS)
-+	target_compile_definitions(spdlog INTERFACE SPDLOG_NO_EXCEPTIONS)
- 
-     if(NOT MSVC)
-         target_compile_options(spdlog PRIVATE -fno-exceptions)
-@@ -248,13 +200,9 @@ if (SPDLOG_INSTALL)
-     #---------------------------------------------------------------------------------------
-     # Include files
-     #---------------------------------------------------------------------------------------
--    install(DIRECTORY include/ DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}" PATTERN "fmt/bundled" EXCLUDE)
--    install(TARGETS spdlog spdlog_header_only EXPORT spdlog DESTINATION "${CMAKE_INSTALL_LIBDIR}")
--
--    if(NOT SPDLOG_FMT_EXTERNAL AND NOT SPDLOG_FMT_EXTERNAL_HO)
--        install(DIRECTORY include/${PROJECT_NAME}/fmt/bundled/
--                DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${PROJECT_NAME}/fmt/bundled/")
--    endif()
-+    install(TARGETS spdlog EXPORT spdlog DESTINATION "${CMAKE_INSTALL_LIBDIR}/spdlog")
-+    install(DIRECTORY include/${PROJECT_NAME}
-+            DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/")
- 
-     #---------------------------------------------------------------------------------------
-     # Install pkg-config file
diff --git a/recipes/spdlog/all/patches/0003-header-only.patch b/recipes/spdlog/all/patches/0003-header-only.patch
deleted file mode 100644
index 469396f53..000000000
--- a/recipes/spdlog/all/patches/0003-header-only.patch
+++ /dev/null
@@ -1,168 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index f8941df3..7bbfeed5 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -122,58 +122,15 @@ endif()
- 
- find_package(Threads REQUIRED)
- message(STATUS "Build type: " ${CMAKE_BUILD_TYPE})
--# ---------------------------------------------------------------------------------------
--# Static/Shared library (shared not supported in windows yet)
--# ---------------------------------------------------------------------------------------
--set(SPDLOG_SRCS src/spdlog.cpp src/stdout_sinks.cpp src/color_sinks.cpp src/file_sinks.cpp src/async.cpp src/cfg.cpp)
--
--if(NOT SPDLOG_FMT_EXTERNAL AND NOT SPDLOG_FMT_EXTERNAL_HO)
--    list(APPEND SPDLOG_SRCS src/fmt.cpp)
--endif()
--
--if(WIN32 AND SPDLOG_BUILD_SHARED)
--    list(APPEND SPDLOG_SRCS ${CMAKE_CURRENT_BINARY_DIR}/version.rc)
--endif()
--
--if(SPDLOG_BUILD_SHARED)
--    add_library(spdlog SHARED ${SPDLOG_SRCS} ${SPDLOG_ALL_HEADERS})
--    target_compile_definitions(spdlog PUBLIC SPDLOG_SHARED_LIB)
--    if(WIN32)
--        target_compile_options(spdlog PUBLIC /wd4251 /wd4275)
--        configure_file(${CMAKE_CURRENT_SOURCE_DIR}/cmake/version.rc.in ${CMAKE_CURRENT_BINARY_DIR}/version.rc @ONLY)
--    endif()
--    if(NOT SPDLOG_FMT_EXTERNAL AND NOT SPDLOG_FMT_EXTERNAL_HO)
--        target_compile_definitions(spdlog PRIVATE FMT_EXPORT PUBLIC FMT_SHARED)
--    endif()
--else()
--    add_library(spdlog STATIC ${SPDLOG_SRCS} ${SPDLOG_ALL_HEADERS})
--endif()
--
--add_library(spdlog::spdlog ALIAS spdlog)
--
--target_compile_definitions(spdlog PUBLIC SPDLOG_COMPILED_LIB)
--target_include_directories(spdlog PUBLIC "$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/include>"
--                                         "$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>")
--target_link_libraries(spdlog PUBLIC Threads::Threads)
--spdlog_enable_warnings(spdlog)
--
--set_target_properties(spdlog PROPERTIES VERSION ${SPDLOG_VERSION} SOVERSION ${SPDLOG_VERSION_MAJOR})
--set_target_properties(spdlog PROPERTIES DEBUG_POSTFIX d)
--
--if(COMMAND target_precompile_headers AND SPDLOG_ENABLE_PCH)
--    configure_file(${CMAKE_CURRENT_SOURCE_DIR}/cmake/pch.h.in ${PROJECT_BINARY_DIR}/spdlog_pch.h @ONLY)
--    target_precompile_headers(spdlog PRIVATE ${PROJECT_BINARY_DIR}/spdlog_pch.h)
--endif()
--
- # ---------------------------------------------------------------------------------------
- # Header only version
- # ---------------------------------------------------------------------------------------
--add_library(spdlog_header_only INTERFACE)
--add_library(spdlog::spdlog_header_only ALIAS spdlog_header_only)
-+add_library(spdlog INTERFACE)
-+add_library(spdlog::spdlog ALIAS spdlog)
- 
--target_include_directories(spdlog_header_only INTERFACE "$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/include>"
-+target_include_directories(spdlog INTERFACE "$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/include>"
-                                                         "$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>")
--target_link_libraries(spdlog_header_only INTERFACE Threads::Threads)
-+target_link_libraries(spdlog INTERFACE Threads::Threads)
- 
- # ---------------------------------------------------------------------------------------
- # Use fmt package if using external fmt
-@@ -182,18 +139,9 @@ if(SPDLOG_FMT_EXTERNAL OR SPDLOG_FMT_EXTERNAL_HO)
-     if(NOT TARGET fmt::fmt)
-         find_package(fmt 5.3.0 REQUIRED)
-     endif()
--    target_compile_definitions(spdlog PUBLIC SPDLOG_FMT_EXTERNAL)
--    target_compile_definitions(spdlog_header_only INTERFACE SPDLOG_FMT_EXTERNAL)
--
--    # use external fmt-header-nly
--    if(SPDLOG_FMT_EXTERNAL_HO)
--        target_link_libraries(spdlog PUBLIC fmt::fmt-header-only)
--        target_link_libraries(spdlog_header_only INTERFACE fmt::fmt-header-only)
--    else() # use external compile fmt
--        target_link_libraries(spdlog PUBLIC fmt::fmt)
--        target_link_libraries(spdlog_header_only INTERFACE fmt::fmt)
--    endif()
--
-+    target_compile_definitions(spdlog INTERFACE SPDLOG_FMT_EXTERNAL)
-+    target_link_libraries(spdlog INTERFACE fmt::fmt)
-+    
-     set(PKG_CONFIG_REQUIRES fmt) # add dependency to pkg-config
- endif()
- 
-@@ -201,19 +149,15 @@ endif()
- # Misc definitions according to tweak options
- # ---------------------------------------------------------------------------------------
- if(SPDLOG_WCHAR_SUPPORT)
--    target_compile_definitions(spdlog PUBLIC SPDLOG_WCHAR_TO_UTF8_SUPPORT)
--    target_compile_definitions(spdlog_header_only INTERFACE SPDLOG_WCHAR_TO_UTF8_SUPPORT)
-+    target_compile_definitions(spdlog INTERFACE SPDLOG_WCHAR_TO_UTF8_SUPPORT)
- endif()
- 
- if(SPDLOG_WCHAR_FILENAMES)
--    target_compile_definitions(spdlog PUBLIC SPDLOG_WCHAR_FILENAMES)
--    target_compile_definitions(spdlog_header_only INTERFACE SPDLOG_WCHAR_FILENAMES)
-+    target_compile_definitions(spdlog INTERFACE SPDLOG_WCHAR_FILENAMES)
- endif()
- 
- if(SPDLOG_NO_EXCEPTIONS)
--    target_compile_definitions(spdlog PUBLIC SPDLOG_NO_EXCEPTIONS)
--
--    target_compile_definitions(spdlog_header_only INTERFACE SPDLOG_NO_EXCEPTIONS)
-+    target_compile_definitions(spdlog INTERFACE SPDLOG_NO_EXCEPTIONS)
- 
-     if(NOT MSVC)
-         target_compile_options(spdlog PRIVATE -fno-exceptions)
-@@ -221,28 +165,23 @@ if(SPDLOG_NO_EXCEPTIONS)
- endif()
- 
- if(SPDLOG_CLOCK_COARSE)
--    target_compile_definitions(spdlog PRIVATE SPDLOG_CLOCK_COARSE)
--    target_compile_definitions(spdlog_header_only INTERFACE SPDLOG_CLOCK_COARSE)
-+    target_compile_definitions(spdlog INTERFACE SPDLOG_CLOCK_COARSE)
- endif()
- 
- if(SPDLOG_PREVENT_CHILD_FD)
--    target_compile_definitions(spdlog PRIVATE SPDLOG_PREVENT_CHILD_FD)
--    target_compile_definitions(spdlog_header_only INTERFACE SPDLOG_PREVENT_CHILD_FD)
-+    target_compile_definitions(spdlog INTERFACE SPDLOG_PREVENT_CHILD_FD)
- endif()
- 
- if(SPDLOG_NO_THREAD_ID)
--    target_compile_definitions(spdlog PRIVATE SPDLOG_NO_THREAD_ID)
--    target_compile_definitions(spdlog_header_only INTERFACE SPDLOG_NO_THREAD_ID)
-+    target_compile_definitions(spdlog INTERFACE SPDLOG_NO_THREAD_ID)
- endif()
- 
- if(SPDLOG_NO_TLS)
--    target_compile_definitions(spdlog PRIVATE SPDLOG_NO_TLS)
--    target_compile_definitions(spdlog_header_only INTERFACE SPDLOG_NO_TLS)
-+    target_compile_definitions(spdlog INTERFACE SPDLOG_NO_TLS)
- endif()
- 
- if(SPDLOG_NO_ATOMIC_LEVELS)
--    target_compile_definitions(spdlog PUBLIC SPDLOG_NO_ATOMIC_LEVELS)
--    target_compile_definitions(spdlog_header_only INTERFACE SPDLOG_NO_ATOMIC_LEVELS)
-+    target_compile_definitions(spdlog INTERFACE SPDLOG_NO_ATOMIC_LEVELS)
- endif()
- 
- # ---------------------------------------------------------------------------------------
-@@ -284,18 +223,9 @@ if(SPDLOG_INSTALL)
-     # ---------------------------------------------------------------------------------------
-     # Include files
-     # ---------------------------------------------------------------------------------------
--    install(DIRECTORY include/ DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}" PATTERN "fmt/bundled" EXCLUDE)
--    install(
--        TARGETS spdlog spdlog_header_only
--        EXPORT spdlog
--        LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
--        ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
--        RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
--
--    if(NOT SPDLOG_FMT_EXTERNAL AND NOT SPDLOG_FMT_EXTERNAL_HO)
--        install(DIRECTORY include/${PROJECT_NAME}/fmt/bundled/
--                DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${PROJECT_NAME}/fmt/bundled/")
--    endif()
-+    install(TARGETS spdlog EXPORT spdlog DESTINATION "${CMAKE_INSTALL_LIBDIR}/spdlog")
-+    install(DIRECTORY include/${PROJECT_NAME}
-+            DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/")
- 
-     # ---------------------------------------------------------------------------------------
-     # Install pkg-config file
diff --git a/recipes/spdlog/all/test_package/CMakeLists.txt b/recipes/spdlog/all/test_package/CMakeLists.txt
index 435408015..e3410dbe3 100644
--- a/recipes/spdlog/all/test_package/CMakeLists.txt
+++ b/recipes/spdlog/all/test_package/CMakeLists.txt
@@ -1,8 +1,6 @@
 cmake_minimum_required(VERSION 2.8.11)
 project(test_package)
 
-set(CMAKE_VERBOSE_MAKEFILE TRUE)
-
 include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
 conan_basic_setup()
 
diff --git a/recipes/spdlog/config.yml b/recipes/spdlog/config.yml
index bd6bef5eb..aba2798c3 100644
--- a/recipes/spdlog/config.yml
+++ b/recipes/spdlog/config.yml
@@ -7,3 +7,5 @@ versions:
     folder: "all"
   "1.6.1":
     folder: "all"
+  "1.7.0":
+    folder: "all"
['recipes/spdlog/all/test_package/CMakeLists.txt', 'recipes/spdlog/all/conanfile.py', 'recipes/spdlog/all/conandata.yml', 'recipes/spdlog/config.yml']