From 8ea467b6a28e18cb203d67544aaf90809eae90da Mon Sep 17 00:00:00 2001 From: Alexander Bock Date: Thu, 20 Aug 2020 15:18:38 +0200 Subject: [PATCH] Actually remove VLD --- CMakeLists.txt | 9 --------- src/engine/openspaceengine.cpp | 4 ---- 2 files changed, 13 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 738303dde8..78f9078edb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -202,15 +202,6 @@ if (APPLE) endif () if (MSVC) - option(OPENSPACE_ENABLE_VLD "Enable the Visual Leak Detector" OFF) - if (OPENSPACE_ENABLE_VLD) - begin_dependency("Visual Leak Detector") - target_compile_definitions(openspace-core PUBLIC "OPENSPACE_ENABLE_VLD") - target_link_libraries(openspace-core ${OPENSPACE_EXT_DIR}/vld/lib/vld.lib) - target_include_directories(openspace-core PUBLIC ${OPENSPACE_EXT_DIR}/vld) - end_dependency() - endif () - option(OPENSPACE_NVTOOLS_ENABLED "Include support for Nvidia Tools Extensions" OFF) set(OPENSPACE_NVTOOLS_PATH "C:/Program Files/NVIDIA Corporation/NvToolsExt") if (OPENSPACE_NVTOOLS_ENABLED) diff --git a/src/engine/openspaceengine.cpp b/src/engine/openspaceengine.cpp index cf84e4ecff..b3beab370e 100644 --- a/src/engine/openspaceengine.cpp +++ b/src/engine/openspaceengine.cpp @@ -85,10 +85,6 @@ #include #include -#if defined(_MSC_VER) && defined(OPENSPACE_ENABLE_VLD) -#include -#endif - #ifdef __APPLE__ #include #endif // __APPLE__