mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Emit error if memory debugging isn't implemented on the platform
This commit is contained in:
parent
029e602075
commit
c02c38bf4a
1 changed files with 3 additions and 1 deletions
|
@ -30,6 +30,8 @@ if (VIRCADIA_MEMORY_DEBUGGING)
|
|||
SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fsanitize=undefined -fsanitize=address -fsanitize=leak ")
|
||||
SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fsanitize=undefined -fsanitize=address -fsanitize=leak")
|
||||
endif()
|
||||
endif (UNIX)
|
||||
else()
|
||||
message(FATAL_ERROR "Memory debugging is not supported on this platform." )
|
||||
endif()
|
||||
endif ()
|
||||
endmacro(SETUP_MEMORY_DEBUGGER)
|
||||
|
|
Loading…
Reference in a new issue