From a71c291bcbd63af8a50af0e37f57e2ef1c57b4cd Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 2 Dec 2008 02:37:51 -0800 Subject: [PATCH] Let CMAKE_DEBUG_POSTFIX be exposed for graphical CMake front-ends --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index cca6c8fe..d418b428 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -66,6 +66,11 @@ IF(NOT CMAKE_BUILD_TYPE) "Choose the type of build, options are: Debug Release RelWithDebInfo MinSizeRel." FORCE) ENDIF() +IF(NOT CMAKE_DEBUG_POSTFIX) + SET(CMAKE_DEBUG_POSTFIX "" CACHE STRING + "Library postfix for debug builds. Normally left blank." + FORCE) +ENDIF() IF(MSVC) # ??? -- 2.11.4.GIT