Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 7, 2011, 12:06:56 AM (13 years ago)
Author:
rgrieder
Message:

MSVC specific:
Sorted out Visual Leak Detector handling (it's now treated like a real library, not as a hack).
Also, the vld.h include is gone and with it windows.h.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/cmake/tools/TargetUtilities.cmake

    r8409 r8412  
    305305
    306306  # Visual Leak Detector specific stuff (avoids the include)
    307   IF(HAVE_VLD)
    308     TARGET_LINK_LIBRARIES(${_target_name} ${VLD_LIBRARY})
     307  IF(VISUAL_LEAK_DETECTOR_ENABLE)
     308    TARGET_LINK_LIBRARIES(${_target_name} debug ${VLD_LIBRARY})
    309309  ENDIF()
    310310
Note: See TracChangeset for help on using the changeset viewer.