From: Sergiu Deitsch Date: Tue, 2 Jan 2018 13:38:37 +0000 (+0100) Subject: cmake: added a postfix for debug builds (closes #237) X-Git-Tag: accepted/tizen/5.0/unified/20181102.024921~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;ds=sidebyside;h=185ba4893778b9f2862c37383697e84140d3c70a;p=platform%2Fupstream%2Fglog.git cmake: added a postfix for debug builds (closes #237) This allows to deploy debug and release builds concurrently. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 2fd5351..87f867d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -48,6 +48,7 @@ include (CTest) include (DetermineGflagsNamespace) include (GNUInstallDirs) +set (CMAKE_DEBUG_POSTFIX d) set (CMAKE_THREAD_PREFER_PTHREAD 1) if (WITH_GFLAGS)