Merge pull request #1890 from prince-chrismc/patch-4
Remove version requirement from fmt find_package
This commit is contained in:
		@@ -178,7 +178,7 @@ target_link_libraries(spdlog_header_only INTERFACE Threads::Threads)
 | 
			
		||||
# ---------------------------------------------------------------------------------------
 | 
			
		||||
if(SPDLOG_FMT_EXTERNAL OR SPDLOG_FMT_EXTERNAL_HO)
 | 
			
		||||
    if(NOT TARGET fmt::fmt)
 | 
			
		||||
        find_package(fmt 5.3.0 CONFIG REQUIRED)
 | 
			
		||||
        find_package(fmt CONFIG REQUIRED)
 | 
			
		||||
    endif()
 | 
			
		||||
    target_compile_definitions(spdlog PUBLIC SPDLOG_FMT_EXTERNAL)
 | 
			
		||||
    target_compile_definitions(spdlog_header_only INTERFACE SPDLOG_FMT_EXTERNAL)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user