fix soh otr asset building not detecting textures (#2702)

This commit is contained in:
Adam Bird
2023-04-13 18:37:10 -04:00
committed by GitHub
parent 92fa54c3f9
commit 660c3ec3b0
3 changed files with 6 additions and 3 deletions

View File

@@ -12,4 +12,7 @@ if(EXISTS ${SOURCE_DIR}/OTRExporter/soh.otr)
endif()
if(NOT EXISTS ${SOURCE_DIR}/oot.otr AND NOT EXISTS ${SOURCE_DIR}/oot-mq.otr)
message(FATAL_ERROR, "No OTR files found.")
endif()
if(NOT EXISTS ${SOURCE_DIR}/soh.otr)
message(FATAL_ERROR, "No soh OTR found.")
endif()