[cmake] Fix Switch icon (#1084)

* Update CMakeLists.txt

* fix switch icon

* Update soh/CMakeLists.txt

* Update soh/CMakeLists.txt

Co-authored-by: David Chavez <david@dcvz.io>
This commit is contained in:
th-2021 2022-08-07 16:47:16 +02:00 committed by GitHub
parent cb2410d9c5
commit e51e7f3d45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 7 deletions

View File

@ -1979,13 +1979,16 @@ endif()
if(CMAKE_SYSTEM_NAME MATCHES "NintendoSwitch") if(CMAKE_SYSTEM_NAME MATCHES "NintendoSwitch")
set_target_properties(soh PROPERTIES nx_generate_nacp(Ship.nacp
APP_TITLE "Ship of Harkirian" NAME "Ship of Harkinian"
APP_AUTHOR "Ship" AUTHOR "Harbour Masters"
APP_VERSION "3.0.0" VERSION "3.1.0"
ICON "icon.jpg") )
nx_create_nro(soh) nx_create_nro(soh
NACP Ship.nacp
ICON ${CMAKE_CURRENT_SOURCE_DIR}/icon.jpg
)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/soh.nro DESTINATION . COMPONENT ship) INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/soh.nro DESTINATION . COMPONENT ship)