From f466643078f932126f9a7bcc5760562411aacaa3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Milkovi=C4=8D?= Date: Sat, 27 Jul 2019 23:10:48 +0200 Subject: [PATCH] Moved find_package(fmt) to correct place in pog-config.cmake --- share/pog-config.cmake.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/pog-config.cmake.in b/share/pog-config.cmake.in index e66ffe8..df590a0 100644 --- a/share/pog-config.cmake.in +++ b/share/pog-config.cmake.in @@ -13,8 +13,8 @@ if(POG_DOWNLOAD_RE2) else() list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}") find_package(re2 REQUIRED) - find_package(fmt REQUIRED) endif() +find_package(fmt REQUIRED) include(${CMAKE_CURRENT_LIST_DIR}/pog-targets.cmake) check_required_components(pog)