You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
561 B
11 lines
561 B
if(EXISTS ${SOURCE_DIR}/OTRExporter/oot.otr) |
|
execute_process(COMMAND ${CMAKE_COMMAND} -E copy oot.otr ${SOURCE_DIR}) |
|
execute_process(COMMAND ${CMAKE_COMMAND} -E copy oot.otr ${BINARY_DIR}/soh/) |
|
endif() |
|
if(EXISTS ${SOURCE_DIR}/OTRExporter/oot-mq.otr) |
|
execute_process(COMMAND ${CMAKE_COMMAND} -E copy oot-mq.otr ${SOURCE_DIR}) |
|
execute_process(COMMAND ${CMAKE_COMMAND} -E copy oot-mq.otr ${BINARY_DIR}/soh/) |
|
endif() |
|
if(NOT EXISTS ${SOURCE_DIR}/oot.otr AND NOT EXISTS ${SOURCE_DIR}/oot-mq.otr) |
|
message(FATAL_ERROR, "No OTR files found.") |
|
endif() |