summaryrefslogtreecommitdiff
path: root/indra/cmake/VisualLeakDetector.cmake
blob: d3ba554e462621cbc6bff6d0d670f0a89055f01e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# -*- cmake -*-

if (VIEWER)

  set(INCLUDE_VLD_CMAKE OFF CACHE BOOL "Build the Windows viewer with Visual Leak Detector turned on or off")

  if (INCLUDE_VLD_CMAKE)

    if (WINDOWS)
      add_definitions(-DINCLUDE_VLD=1)
    endif (WINDOWS)

  endif (INCLUDE_VLD_CMAKE)

endif (VIEWER)