Commit af585ad4fec965fa85f5d61c759f3bc940936de4

yuri_levchenko 2017-11-09T13:38:26

* CMakeLists.txt: Add `DISABLE_FORCE_DEBUG_PREFIX' option.

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8115f1a..1671549 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -331,7 +331,9 @@ if (BUILD_FRAMEWORK)
   )
 endif ()
 
-set(CMAKE_DEBUG_POSTFIX d)
+if (NOT DISABLE_FORCE_DEBUG_POSTFIX)
+  set(CMAKE_DEBUG_POSTFIX d)
+endif()
 
 add_library(freetype
   ${PUBLIC_HEADERS}
diff --git a/ChangeLog b/ChangeLog
index 1ce5029..aa36c9c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2017-11-10  Yuri Levchenko  <yuri_levchenko@boolat.com>
+
+	* CMakeLists.txt: Add `DISABLE_FORCE_DEBUG_PREFIX' option.
+
 2017-11-06  Alexei Podtelezhnikov  <apodtele@gmail.com>
 
 	* src/base/ftobjs.c (FT_Load_Glyph): Relocate condition.