mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-10 17:40:24 +08:00
0026652: OCC_DEBUG definition is always added to the compiler command line
a misprint in the if statement fixed
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user