From 5ce2429af7a8481581896afaa480552cc7584808 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Szit=C3=A1r=20Gerg=C5=91?= Date: Sun, 5 Jan 2020 13:32:40 +0100 Subject: [PATCH] Add d postfix to Debug libraries (#923) * Add DEBUG_POSTFIX to libraries. Makes it possible to install Debug and Release versions on the same system. Without this, there were only linker errors when using the wrong configuration. * Update CONTRIBUTORS and AUTHORS according to guide --- AUTHORS | 1 + CONTRIBUTORS | 1 + src/CMakeLists.txt | 2 ++ 3 files changed, 4 insertions(+) diff --git a/AUTHORS b/AUTHORS index 35c4c8ce..06295c1e 100644 --- a/AUTHORS +++ b/AUTHORS @@ -26,6 +26,7 @@ Eugene Zhuk Evgeny Safronov Federico Ficarelli Felix Homann +Gergő Szitár Google Inc. International Business Machines Corporation Ismael Jimenez Martinez diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 6b64a006..04e8aa6a 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -43,6 +43,7 @@ Evgeny Safronov Federico Ficarelli Felix Homann Geoffrey Martin-Noble +Gergő Szitár Hannes Hauswedell Ismael Jimenez Martinez Jern-Kuan Leong diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index eab1428e..2650e3d1 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -22,6 +22,7 @@ set_target_properties(benchmark PROPERTIES OUTPUT_NAME "benchmark" VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION} + DEBUG_POSTFIX "d" ) target_include_directories(benchmark PUBLIC $ @@ -58,6 +59,7 @@ set_target_properties(benchmark_main PROPERTIES OUTPUT_NAME "benchmark_main" VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION} + DEBUG_POSTFIX "d" ) target_include_directories(benchmark PUBLIC $