From 757231cc6e777b8f4717d1467ef7efa01c7fde15 Mon Sep 17 00:00:00 2001 From: peterbell10 Date: Wed, 3 Jan 2018 17:41:16 +0000 Subject: Add the fmt library (#4065) * Replaces AppendVPrintf with fmt::sprintf * fmt::ArgList now used as a type safe alternative to varargs. * Removed SIZE_T_FMT compatibility macros. fmt::sprintf is fully portable and supports %zu. * Adds FLOG functions to log with fmt's native formatting style. --- tests/HTTP/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/HTTP/CMakeLists.txt') diff --git a/tests/HTTP/CMakeLists.txt b/tests/HTTP/CMakeLists.txt index 55074958e..3f0f4b6f8 100644 --- a/tests/HTTP/CMakeLists.txt +++ b/tests/HTTP/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required(VERSION 3.0.2) enable_testing() include_directories(${CMAKE_SOURCE_DIR}/src/) @@ -57,11 +58,11 @@ source_group("Data Files" FILES ${TEST_DATA_FILES}) # HTTPMessageParser_file: Feed file contents into a cHTTPResponseParser and print the callbacks as they're called: add_executable(HTTPMessageParser_file-exe HTTPMessageParser_file.cpp ${TEST_DATA_FILES}) -target_link_libraries(HTTPMessageParser_file-exe HTTP Network OSSupport) +target_link_libraries(HTTPMessageParser_file-exe HTTP Network OSSupport fmt::fmt) # UrlClientTest: Tests the UrlClient class by requesting a few things off the internet: add_executable(UrlClientTest-exe UrlClientTest.cpp) -target_link_libraries(UrlClientTest-exe HTTP) +target_link_libraries(UrlClientTest-exe HTTP fmt::fmt) -- cgit v1.2.3