From 390f829bbc5a4fd5ecf3c38c497f3af5a859e2b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Micha=C3=ABl=20Celerier?= Date: Sat, 28 Sep 2024 18:41:48 -0400 Subject: [PATCH] [max] Allow to override automatic maxref generation --- cmake/avendish.max.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/avendish.max.cmake b/cmake/avendish.max.cmake index a7f7c792..6fd81adf 100644 --- a/cmake/avendish.max.cmake +++ b/cmake/avendish.max.cmake @@ -177,7 +177,7 @@ function(avnd_make_max) avnd_common_setup("${AVND_TARGET}" "${AVND_FX_TARGET}") - if(TARGET json_to_maxref) + if(TARGET json_to_maxref AND NOT "${AVND_DISABLE_AUTOMAXREF}") message(STATUS "json_to_maxref found") get_target_property(_dump_path ${AVND_TARGET} AVND_DUMP_PATH) if(_dump_path)