From 935b3de2ad0dc9917e21290de90393b8fc14466a Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Mon, 3 Jun 2019 12:50:27 +0300 Subject: [PATCH] Update INSTALL --- INSTALL | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/INSTALL b/INSTALL index b23539de..18220b92 100644 --- a/INSTALL +++ b/INSTALL @@ -1,7 +1,7 @@ Header only version: ================================================================== Just copy the files to your build tree and use a C++11 compiler. -or +Or use CMake: " add_executable(example_header_only example.cpp) target_link_libraries(example_header_only spdlog::spdlog_header_only) @@ -9,11 +9,13 @@ 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. + +Or copy src/spdlog.cpp to your build tree and pass the -DSPDLOG_COMPILED_LIB to the compiler. Tested on: gcc 4.8.1 and above