From: Björn Lindahl <bjorn.lindahl@foi.se>
Date: Sat, 14 May 2016 16:56:36 +0000 (+0200)
Subject: Added suffix "d" to lib/dll to differentiate Debug from Release output so they don... 
X-Git-Tag: R_2_2_0~40
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d10262c9efe1685ed2002e4182f91dfa17a265e7;p=libexpat

Added suffix "d" to lib/dll to differentiate Debug from Release output so they don't overwrite each other.
Fixes #323
---

diff --git a/expat/CMakeLists.txt b/expat/CMakeLists.txt
index c749f548..228b5de3 100755
--- a/expat/CMakeLists.txt
+++ b/expat/CMakeLists.txt
@@ -43,6 +43,7 @@ if(MSVC)
 endif(MSVC)
 if(WIN32)
     add_definitions(-DCOMPILING_FOR_WINDOWS)
+    set(CMAKE_DEBUG_POSTFIX "d" CACHE STRING "Add a suffix, usually d on Windows")
 endif(WIN32)
 
 set(expat_SRCS