diff options
author | David Neto <dneto@google.com> | 2018-02-26 19:54:16 (GMT) |
---|---|---|
committer | David Neto <dneto@google.com> | 2018-02-26 20:58:49 (GMT) |
commit | 20074be19a9c1d6568a4554da2fee3f2e3dbac09 (patch) | |
tree | b87f723f43db948f12e3d49f1f893472d66f4364 /googletest/CMakeLists.txt | |
parent | ac34e6c950925df7165e626becd3f9d64dcd584b (diff) | |
download | googletest-20074be19a9c1d6568a4554da2fee3f2e3dbac09.zip googletest-20074be19a9c1d6568a4554da2fee3f2e3dbac09.tar.gz googletest-20074be19a9c1d6568a4554da2fee3f2e3dbac09.tar.bz2 |
Use DEBUG_POSTFIX instead of CMAKE_DEBUG_POSTFIX
CMAKE_DEBUG_POSTFIX is a global configuration parameter, and
changing it pollutes the configuration space for other projects
that enclose this project.
DEBUG_POSTFIX is better to use since it is a target-specific poperty.
Fixes #1334
Fixes #1268
Diffstat (limited to 'googletest/CMakeLists.txt')
-rw-r--r-- | googletest/CMakeLists.txt | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/googletest/CMakeLists.txt b/googletest/CMakeLists.txt index 77b55ca..5c392e2 100644 --- a/googletest/CMakeLists.txt +++ b/googletest/CMakeLists.txt @@ -27,8 +27,6 @@ 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) |