From 185ba4893778b9f2862c37383697e84140d3c70a Mon Sep 17 00:00:00 2001 From: Sergiu Deitsch Date: Tue, 2 Jan 2018 14:38:37 +0100 Subject: [PATCH] cmake: added a postfix for debug builds (closes #237) This allows to deploy debug and release builds concurrently. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) 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) -- 2.7.4