Fix libfmt handling in CMakeLists.txt

This commit is contained in:
Marcus Holland-Moritz 2022-11-08 12:56:33 +01:00
parent 2f65559407
commit 46dd7a2385

View File

@ -120,8 +120,8 @@ if(WITH_MAN_PAGES)
endforeach() endforeach()
endif() endif()
if(PREFER_SYSTEM_GTEST) if(PREFER_SYSTEM_LIBFMT)
find_package(fmt 9.1 CONFIG) find_package(fmt 9.0 CONFIG)
else() else()
configure_file(CMakeLists.txt.fmtlib fmtlib-download/CMakeLists.txt) configure_file(CMakeLists.txt.fmtlib fmtlib-download/CMakeLists.txt)
execute_process( execute_process(