aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGennadiy Civil <gennadiycivil@users.noreply.github.com>2017-09-14 22:30:24 -0400
committerGitHub <noreply@github.com>2017-09-14 22:30:24 -0400
commitdeace2546ef4ff8f3e6349ec4f26d414753818c3 (patch)
treed2cc1783a59e355d273f1dd9150a54124462d67b
parentb1dd47c278a7f82406d2d6d683a1a945e314c0e5 (diff)
parentb55abc3fe08a6b89fb22dda5793decad5f2faa1b (diff)
downloadgoogletest-deace2546ef4ff8f3e6349ec4f26d414753818c3.tar.gz
googletest-deace2546ef4ff8f3e6349ec4f26d414753818c3.tar.bz2
googletest-deace2546ef4ff8f3e6349ec4f26d414753818c3.zip
Merge pull request #1259 from ly2048/patch-1
Add explicit `CMAKE_DEBUG_POSTFIX` option
-rw-r--r--googletest/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/googletest/CMakeLists.txt b/googletest/CMakeLists.txt
index 8391dbd0..b9a920b7 100644
--- a/googletest/CMakeLists.txt
+++ b/googletest/CMakeLists.txt
@@ -27,6 +27,8 @@ option(
"Build gtest with internal symbols hidden in shared libraries."
OFF)
+set(CMAKE_DEBUG_POSTFIX "d" CACHE STRING "Generate debug library name with a postfix.")
+
# Defines pre_project_set_up_hermetic_build() and set_up_hermetic_build().
include(cmake/hermetic_build.cmake OPTIONAL)