From bc54ec04089d711a71c66ea2cb4ffcdb01456679 Mon Sep 17 00:00:00 2001 From: ibs Date: Mon, 7 Sep 2015 12:47:55 +0300 Subject: [PATCH] 0026652: OCC_DEBUG definition is always added to the compiler command line a misprint in the if statement fixed --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9764d2b746..7509a5b339 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -43,7 +43,7 @@ endif() # enable extended messages of many OCCT algorithms set (OCCT_ALGO_EXTENDED_OUTPUT OFF CACHE BOOL "${OCCT_ALGO_EXTENDED_OUTPUT_DESCR}") -if (OCCT_ALGO_EXTENDED_OUTPUT_DESCR) +if (OCCT_ALGO_EXTENDED_OUTPUT) add_definitions (-DOCCT_DEBUG) endif()