Skip to content

Commit

Permalink
[max] Allow to override automatic maxref generation
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Sep 28, 2024
1 parent 8387d31 commit 390f829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/avendish.max.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 390f829

Please sign in to comment.