--- /dev/null
+find_path(FMT_INCLUDE_DIR fmt/core.h)
+
+find_library(FMT_LIBRARY NAMES fmt)
+
+include(FindPackageHandleStandardArgs)
+find_package_handle_standard_args(FMT DEFAULT_MSG FMT_LIBRARY FMT_INCLUDE_DIR)
+
+mark_as_advanced(FMT_INCLUDE_DIR FMT_LIBRARY)
+
+set(FMT_INCLUDE_DIRS ${FMT_INCLUDE_DIR})
+set(FMT_LIBRARIES ${FMT_LIBRARY})
find_package(Boost REQUIRED)
find_package(Catch2 REQUIRED)
+find_package(FMT REQUIRED)
find_package(RAPIDXML REQUIRED)
find_package(SVGPP REQUIRED)
)
target_include_directories(test_common SYSTEM PRIVATE
${Boost_INCLUDE_DIRS}
+ ${FMT_INCLUDE_DIRS}
${RAPIDXML_INCLUDE_DIRS}
${SVGPP_INCLUDE_DIRS}
)
cgraph++
gvc
gvc++
+ ${FMT_LIBRARIES}
)
# common steps for creating a test case