Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gabime/spdlog.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgabime <gmelman1@gmail.com>2019-06-19 18:01:34 +0300
committergabime <gmelman1@gmail.com>2019-06-19 18:01:34 +0300
commit8970fd5d2f1799341952b30278e107b13219dab4 (patch)
treea7ffd439d3ea966d896ff0897d687e87deb6d878 /CMakeLists.txt
parent67d5f655072286a25b1fccf48d46c500a1397663 (diff)
CMake cosmetic
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt11
1 files changed, 5 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a27c2019..d0c796e7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -3,7 +3,6 @@
cmake_minimum_required(VERSION 3.1)
-
#---------------------------------------------------------------------------------------
# Start spdlog project
#---------------------------------------------------------------------------------------
@@ -85,7 +84,7 @@ target_link_libraries(spdlog_header_only INTERFACE Threads::Threads)
#---------------------------------------------------------------------------------------
-# use fmt package if using exertnal fmt
+# Use fmt package if using exertnal fmt
#---------------------------------------------------------------------------------------
if(SPDLOG_FMT_EXTERNAL)
if (NOT TARGET fmt::fmt)
@@ -100,7 +99,7 @@ if(SPDLOG_FMT_EXTERNAL)
endif()
#---------------------------------------------------------------------------------------
-# build binries
+# Build binaries
#---------------------------------------------------------------------------------------
if(SPDLOG_BUILD_EXAMPLES)
message(STATUS "Generating examples")
@@ -119,7 +118,7 @@ if(SPDLOG_BUILD_BENCH)
endif()
#---------------------------------------------------------------------------------------
-# install
+# Install
#---------------------------------------------------------------------------------------
if (SPDLOG_INSTALL)
message(STATUS "Generating install")
@@ -130,13 +129,13 @@ if (SPDLOG_INSTALL)
set(export_dest_dir "${CMAKE_INSTALL_LIBDIR}/spdlog/cmake")
#---------------------------------------------------------------------------------------
- # include files
+ # Include files
#---------------------------------------------------------------------------------------
install(DIRECTORY include/ DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}")
install(TARGETS spdlog spdlog_header_only EXPORT spdlog DESTINATION "${CMAKE_INSTALL_LIBDIR}/spdlog")
#---------------------------------------------------------------------------------------
- # package and version files
+ # Package and version files
#---------------------------------------------------------------------------------------
install(EXPORT spdlog
DESTINATION ${export_dest_dir}