Commit 7cce2a6c authored by Mathieu Faverge's avatar Mathieu Faverge

MEMORY_TRACE is a suboption of MEMORY_USAGE

parent f22c73b7
......@@ -28,6 +28,7 @@ include (CheckFunctionExists)
include (CheckSymbolExists)
include (CheckIncludeFiles)
include (CheckLibraryExists)
include (CMakeDependentOption)
### Required Packages
find_package(Qt4 COMPONENTS QtCore QtGui QtXml REQUIRED)
......@@ -49,8 +50,8 @@ option(VITE_ENABLE_MT_PARSERS
### Debug options
option(VITE_DBG_MEMORY_USAGE
"Enable statistic on memory usage." OFF)
option(VITE_DBG_MEMORY_TRACE
"Enable trace generation of memory usage." OFF)
cmake_dependent_option(VITE_DBG_MEMORY_TRACE
"Enable trace generation of memory usage (requires MEMORY_USAGE)." OFF "VITE_DBG_MEMORY_USAGE" OFF)
### Trace format options
option(VITE_ENABLE_OTF
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment