summaryrefslogtreecommitdiff
path: root/development/spdlog/spdlog.patch
diff options
context:
space:
mode:
authorAndre Barboza <bmg.andre@gmail.com>2017-01-11 01:52:50 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-01-11 01:52:50 +0700
commitb096d886bcbd81154e3e0d04f584ad13b5273c04 (patch)
tree747b48e0da57f44b4de3edf5c5a6631052d85f6e /development/spdlog/spdlog.patch
parentd74bdd74338e5db83cabde414ca6b76de1cb3529 (diff)
downloadslackbuilds-b096d886bcbd81154e3e0d04f584ad13b5273c04.tar.gz
development/spdlog: Added (C++ logging library).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/spdlog/spdlog.patch')
-rw-r--r--development/spdlog/spdlog.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/development/spdlog/spdlog.patch b/development/spdlog/spdlog.patch
new file mode 100644
index 0000000000..da7374328f
--- /dev/null
+++ b/development/spdlog/spdlog.patch
@@ -0,0 +1,15 @@
+diff -ur spdlog-0.11.0.old/CMakeLists.txt spdlog-0.11.0/CMakeLists.txt
+--- spdlog-0.11.0.old/CMakeLists.txt 2016-09-17 20:28:41.000000000 -0300
++++ spdlog-0.11.0/CMakeLists.txt 2017-01-09 16:01:16.795518326 -0200
+@@ -36,9 +36,9 @@
+ # * https://github.com/forexample/package-example
+ set(generated_dir "${CMAKE_CURRENT_BINARY_DIR}/generated")
+
+-set(config_install_dir "lib/cmake/${PROJECT_NAME}")
++set(config_install_dir "lib${LIB_SUFFIX}/cmake/${PROJECT_NAME}")
+ set(include_install_dir "include")
+-set(pkgconfig_install_dir "lib/pkgconfig")
++set(pkgconfig_install_dir "lib${LIB_SUFFIX}/pkgconfig")
+
+ set(version_config "${generated_dir}/${PROJECT_NAME}ConfigVersion.cmake")
+ set(project_config "${generated_dir}/${PROJECT_NAME}Config.cmake")