forked from osmocom/wireshark
Windows: move ENABLE_VLD to CMakeOptions.txt
This commit is contained in:
parent
21474fa308
commit
c713fb3b7d
|
@ -948,10 +948,9 @@ if(ENABLE_FUZZER)
|
|||
endif()
|
||||
|
||||
if(MSVC)
|
||||
set(ENABLE_VLD OFF CACHE BOOL "Whether enable Visual Leak Detect in Debug configuration")
|
||||
if(ENABLE_VLD)
|
||||
include(FindVLD)
|
||||
if(NOT VLD_FOUND)
|
||||
if(NOT VLD_FOUND)
|
||||
message(FATAL_ERROR "ENABLE_VLD was requested, but not found!")
|
||||
endif()
|
||||
message(STATUS "Enabling Visual Leak Detector in Debug configuration")
|
||||
|
|
|
@ -63,6 +63,7 @@ endif()
|
|||
|
||||
if (WIN32)
|
||||
option(ENABLE_LTO "Improves performance using Link time Optimization" ON)
|
||||
option(ENABLE_VLD "Enable Visual Leak Detect in Debug configuration" OFF)
|
||||
else()
|
||||
option(ENABLE_LTO "Improves performance using Link time Optimization" OFF)
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue