Skip to content

Commit 61ccd8a

Browse files
committed
VLD, not VLC...
1 parent 450baf2 commit 61ccd8a

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

cmake/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ OPTION(ENABLE_BUILD_OPTIMIZATIONS "Enable certain compiler and linker optimizati
2828
OPTION(USE_IFC4 "Use IFC 4 instead of IFC 2x3 (full rebuild recommended when switching this)" OFF)
2929
OPTION(BUILD_IFCPYTHON "Build IfcPython." ON)
3030
OPTION(BUILD_EXAMPLES "Build example applications." ON)
31-
OPTION(USE_VLC "Use Visual Leak Detector for debugging memory leaks, MSVC-only." OFF)
31+
OPTION(USE_VLD "Use Visual Leak Detector for debugging memory leaks, MSVC-only." OFF)
3232
# TODO QtViewer is deprecated ATM as it uses the 0.4 API
3333
# OPTION(BUILD_QTVIEWER "Build IfcOpenShell Qt GUI Viewer (requires Qt 4 framework)." OFF)
3434

@@ -238,8 +238,8 @@ if(ENABLE_BUILD_OPTIMIZATIONS)
238238
endif()
239239

240240
IF(MSVC)
241-
IF(USE_VLC)
242-
ADD_DEFINITIONS(-DUSE_VLC)
241+
IF(USE_VLD)
242+
ADD_DEFINITIONS(-DUSE_VLD)
243243
ENDIF()
244244
# Enforce Unicode for CRT and Win32 API calls
245245
ADD_DEFINITIONS(-D_UNICODE -DUNICODE)

src/examples/IfcOpenHouse.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
#include "../ifcparse/IfcHierarchyHelper.h"
4242
#include "../ifcgeom/IfcGeom.h"
4343

44-
#if USE_VLC
44+
#if USE_VLD
4545
#include <vld.h>
4646
#endif
4747

src/examples/IfcParseExamples.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
#include "../ifcparse/IfcFile.h"
2121

22-
#if USE_VLC
22+
#if USE_VLD
2323
#include <vld.h>
2424
#endif
2525

src/ifcconvert/IfcConvert.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
#include <IGESControl_Controller.hxx>
4747
#include <Standard_Version.hxx>
4848

49-
#if USE_VLC
49+
#if USE_VLD
5050
#include <vld.h>
5151
#endif
5252

src/ifcgeomserver/IfcGeomServer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
#include "../ifcgeom/IfcGeomIterator.h"
3939

40-
#if USE_VLC
40+
#if USE_VLD
4141
#include <vld.h>
4242
#endif
4343

0 commit comments

Comments
 (0)