summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorAdrian Graber <adrian@adriangraber.com>2021-07-04 18:52:48 +0200
committerAdrian Graber <adrian@adriangraber.com>2021-07-13 00:49:13 +0200
commit28f266302fbeea2d75d5a62de651d464ab380798 (patch)
treee9ae6bc810489c798e6bb3f27d75afe803c7f9ae /cmake
parentVanilla config for Windows and win-x86 only (diff)
downloadre3-28f266302fbeea2d75d5a62de651d464ab380798.tar
re3-28f266302fbeea2d75d5a62de651d464ab380798.tar.gz
re3-28f266302fbeea2d75d5a62de651d464ab380798.tar.bz2
re3-28f266302fbeea2d75d5a62de651d464ab380798.tar.lz
re3-28f266302fbeea2d75d5a62de651d464ab380798.tar.xz
re3-28f266302fbeea2d75d5a62de651d464ab380798.tar.zst
re3-28f266302fbeea2d75d5a62de651d464ab380798.zip
Diffstat (limited to 'cmake')
-rw-r--r--cmake/nx/NXFunctions.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/cmake/nx/NXFunctions.cmake b/cmake/nx/NXFunctions.cmake
new file mode 100644
index 00000000..8fa23fae
--- /dev/null
+++ b/cmake/nx/NXFunctions.cmake
@@ -0,0 +1,7 @@
+if(NOT COMMAND nx_generate_nacp)
+ message(FATAL_ERROR "The `nx_generate_nacp` cmake command is not available. Please use an appropriate Nintendo Switch toolchain.")
+endif()
+
+if(NOT COMMAND nx_create_nro)
+ message(FATAL_ERROR "The `nx_create_nro` cmake command is not available. Please use an appropriate Nintendo Switch toolchain.")
+endif()