From b8fbf3ad29626fbeb7c07ecfc26faa06c4704960 Mon Sep 17 00:00:00 2001 From: Andrey Kazantsev Date: Mon, 22 Feb 2016 22:24:03 +0200 Subject: [PATCH] Resolves #802 --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0be3b21cf..8434e4628 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -98,10 +98,10 @@ SET( ASSIMP_INCLUDE_INSTALL_DIR "include" CACHE PATH SET( ASSIMP_BIN_INSTALL_DIR "bin" CACHE PATH "Path the tool executables are installed to." ) -IF (CMAKE_BUILD_TYPE STREQUAL "Release") - SET(CMAKE_DEBUG_POSTFIX "" CACHE STRING "Debug Postfix for lib, samples and tools") -ELSE() +IF (CMAKE_BUILD_TYPE STREQUAL "Debug") SET(CMAKE_DEBUG_POSTFIX "d" CACHE STRING "Debug Postfix for lib, samples and tools") +ELSE() + SET(CMAKE_DEBUG_POSTFIX "" CACHE STRING "Debug Postfix for lib, samples and tools") ENDIF() # Only generate this target if no higher-level project already has