From 4021e5eea960aa81e063f6aeee556f3fa881255d Mon Sep 17 00:00:00 2001 From: Matthias Schoepfer Date: Tue, 1 Oct 2019 17:14:01 +0200 Subject: [PATCH] CMakeLists.txt: removed spdlog subdir from library install The library gets installed into ${CMAKE_INSTALL_LIBDIR}/spdlog, which is for unix / linux a rather strange place, hence, put it where the linker is more likely to find it. Signed-off-by: Matthias Schoepfer --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ff996491..7efe5049 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -196,7 +196,7 @@ if (SPDLOG_INSTALL) # Include files #--------------------------------------------------------------------------------------- install(DIRECTORY include/ DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}" PATTERN "fmt/bundled" EXCLUDE) - install(TARGETS spdlog spdlog_header_only EXPORT spdlog DESTINATION "${CMAKE_INSTALL_LIBDIR}/spdlog") + install(TARGETS spdlog spdlog_header_only EXPORT spdlog DESTINATION "${CMAKE_INSTALL_LIBDIR}") if(NOT SPDLOG_FMT_EXTERNAL) install(DIRECTORY include/${PROJECT_NAME}/fmt/bundled/