From e70b2dfbb29670fd133065c9fd742dad90fc0031 Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Mon, 3 Jun 2019 12:51:20 +0300 Subject: [PATCH] Update INSTALL --- INSTALL | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/INSTALL b/INSTALL index c3cde84f..918e6264 100644 --- a/INSTALL +++ b/INSTALL @@ -2,18 +2,16 @@ Header only version: ================================================================== Just copy the files to your build tree and use a C++11 compiler. Or use CMake: -" add_executable(example_header_only example.cpp) target_link_libraries(example_header_only spdlog::spdlog_header_only) -" + Compiled library version: ================================================================== CMake: -" add_executable(example example.cpp) target_link_libraries(example spdlog::spdlog) -" + Or copy src/spdlog.cpp to your build tree and pass the -DSPDLOG_COMPILED_LIB to the compiler.