diff --git a/INSTALL b/INSTALL index 18220b92..c3cde84f 100644 --- a/INSTALL +++ b/INSTALL @@ -3,16 +3,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) + 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) + 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.