mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Rename variable to VIRCADIA_MEMORY_DEBUGGING
This is to make it consistent with an upcoming addition of VIRCADIA_THREAD_DEBUGGING. Also, check if the variable contains anything and isn't just defined to avoid hard to figure out bugs and confusion.
This commit is contained in:
parent
5ffc05f7a7
commit
65c74986ee
1 changed files with 3 additions and 3 deletions
|
@ -8,11 +8,11 @@
|
|||
#
|
||||
|
||||
macro(SETUP_MEMORY_DEBUGGER)
|
||||
if (DEFINED ENV{HIFI_MEMORY_DEBUGGING})
|
||||
SET( HIFI_MEMORY_DEBUGGING true )
|
||||
if (NOT "$ENV{VIRCADIA_MEMORY_DEBUGGING}" STREQUAL "")
|
||||
SET( VIRCADIA_MEMORY_DEBUGGING true )
|
||||
endif ()
|
||||
|
||||
if (HIFI_MEMORY_DEBUGGING)
|
||||
if (VIRCADIA_MEMORY_DEBUGGING)
|
||||
if (UNIX)
|
||||
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||
# for clang on Linux
|
||||
|
|
Loading…
Reference in a new issue