mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-05 03:04:16 +01:00
cmake: Find WUT_RPLIMPORTGEN in toolchain.
This commit is contained in:
parent
b168032339
commit
a3eefa84e6
@ -104,9 +104,15 @@ if(NOT RPLEXPORTGEN_BIN)
|
|||||||
message(FATAL_ERROR "Could not find rplexportgen")
|
message(FATAL_ERROR "Could not find rplexportgen")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
find_program(RPLIMPORTGEN_BIN NAMES rplimportgen HINTS "${DEVKITPRO}/tools/bin")
|
||||||
|
if(NOT RPLIMPORTGEN_BIN)
|
||||||
|
message(FATAL_ERROR "Could not find rplimportgen")
|
||||||
|
endif()
|
||||||
|
|
||||||
# Tools
|
# Tools
|
||||||
set(WUT_ELF2RPL "${ELF2RPL_BIN}" CACHE PATH "")
|
set(WUT_ELF2RPL "${ELF2RPL_BIN}" CACHE PATH "")
|
||||||
set(WUT_RPLEXPORTGEN "${RPLEXPORTGEN_BIN}" CACHE PATH "")
|
set(WUT_RPLEXPORTGEN "${RPLEXPORTGEN_BIN}" CACHE PATH "")
|
||||||
|
set(WUT_RPLIMPORTGEN "${RPLIMPORTGEN_BIN}" CACHE PATH "")
|
||||||
|
|
||||||
# Flags
|
# Flags
|
||||||
set(WUT TRUE)
|
set(WUT TRUE)
|
||||||
|
Loading…
Reference in New Issue
Block a user