From: ibs Date: Mon, 7 Sep 2015 09:47:55 +0000 (+0300) Subject: 0026652: OCC_DEBUG definition is always added to the compiler command line X-Git-Tag: V7_0_0_beta~277 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=bc54ec04089d711a71c66ea2cb4ffcdb01456679;p=occt-copy.git 0026652: OCC_DEBUG definition is always added to the compiler command line a misprint in the if statement fixed --- 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()