From afa11b0dfd9ddcc200b8a46bb6e9b64d21f8c79b Mon Sep 17 00:00:00 2001 From: Rishi Theivendran <29522253+inuik@users.noreply.github.com> Date: Thu, 18 Jul 2019 10:01:07 -0400 Subject: [PATCH] Copy debug libraries for debug builds --- CMakeLists.txt | 5 +++++ RELICENSE/inuik.md | 17 +++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 RELICENSE/inuik.md diff --git a/CMakeLists.txt b/CMakeLists.txt index b7f4deb7..71de91e0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1439,6 +1439,11 @@ endif() option(ENABLE_CPACK "Enables cpack rules" ON) if(MSVC AND ENABLE_CPACK) + if(${CMAKE_BUILD_TYPE} MATCHES "Debug") + set(CMAKE_INSTALL_DEBUG_LIBRARIES_ONLY TRUE) + set(CMAKE_INSTALL_DEBUG_LIBRARIES TRUE) + set(CMAKE_INSTALL_UCRT_LIBRARIES TRUE) + endif() include(InstallRequiredSystemLibraries) if(CMAKE_CL_64) diff --git a/RELICENSE/inuik.md b/RELICENSE/inuik.md new file mode 100644 index 00000000..98f939bf --- /dev/null +++ b/RELICENSE/inuik.md @@ -0,0 +1,17 @@ +# Permission to Relicense under MPLv2 or any other OSI approved license chosen by the current ZeroMQ BDFL + +This is a statement by Rishi Theivendan (inuik) +that grants permission to relicense his copyrights in the libzmq C++ +library (ZeroMQ) under the Mozilla Public License v2 (MPLv2) or any other +Open Source Initiative approved license chosen by the current ZeroMQ +BDFL (Benevolent Dictator for Life). + +A portion of the commits made by the Github handle "inuik", with +commit author "Rishi Theivendran <29522253+inuik@users.noreply.github.com>" or +"Rishi Theivendran ", are copyright of Rishi Theivendran. +This document hereby grants the libzmq project team to relicense libzmq, +including all past, present and future contributions of the author listed +above. + +Rishi Theivendran +2019/07/18