From 785a3c2b083d7860f3b88fc25ee3c34d3577b5a2 Mon Sep 17 00:00:00 2001 From: staphen Date: Wed, 7 Feb 2024 21:54:11 -0500 Subject: [PATCH] [Switch] Ensure romfs directory exists during CMake configure --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index b17b79b0009..e37b5dfea90 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -421,6 +421,7 @@ if(NINTENDO_SWITCH) VERSION "${PROJECT_VERSION}" ) + file(MAKE_DIRECTORY "${DEVILUTIONX_ASSETS_OUTPUT_DIRECTORY}") nx_create_nro(${BIN_TARGET} NACP ${BIN_TARGET}.nacp ICON "${PROJECT_SOURCE_DIR}/Packaging/switch/icon.jpg"