3rdparty/vixl: Define VIXL_CODE_BUFFER_* in cmake

This commit is contained in:
TheLastRar 2025-01-19 14:38:40 +00:00 committed by Ty
parent 9e21ee1bc4
commit ec8736107c
1 changed files with 2 additions and 0 deletions

View File

@ -56,6 +56,8 @@ target_compile_definitions(vixl PUBLIC
VIXL_INCLUDE_TARGET_A64
)
target_compile_definitions(vixl PRIVATE VIXL_CODE_BUFFER_MALLOC)
if("${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
message("Enabling vixl debug assertions")
target_compile_definitions(vixl PUBLIC VIXL_DEBUG)