From a6e8e5dd95ff351c4f1dcd39c54d9ba8f3a236bf Mon Sep 17 00:00:00 2001 From: Andrey Kamaev Date: Fri, 17 Feb 2012 19:09:05 +0000 Subject: [PATCH] Fixed #1443 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7be33d1221..595622d40a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -213,7 +213,7 @@ else() set(OPENCV_DEBUG_POSTFIX "") endif() -if(NOT "${CMAKE_DEBUG_POSTFIX}" STREQUAL "") +if(DEFINED CMAKE_DEBUG_POSTFIX) set(OPENCV_DEBUG_POSTFIX "${CMAKE_DEBUG_POSTFIX}") endif()