Skip to content

Commit

Permalink
[cmake] Fix Switch icon (HarbourMasters#1084)
Browse files Browse the repository at this point in the history
* Update CMakeLists.txt

* fix switch icon

* Update soh/CMakeLists.txt

* Update soh/CMakeLists.txt

Co-authored-by: David Chavez <david@dcvz.io>
  • Loading branch information
th-2021 and dcvz committed Aug 8, 2022
1 parent aeedf91 commit 40eb9ec
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions soh/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1979,13 +1979,16 @@ endif()

if(CMAKE_SYSTEM_NAME MATCHES "NintendoSwitch")

set_target_properties(soh PROPERTIES
APP_TITLE "Ship of Harkirian"
APP_AUTHOR "Ship"
APP_VERSION "3.0.0"
ICON "icon.jpg")

nx_create_nro(soh)
nx_generate_nacp(Ship.nacp
NAME "Ship of Harkinian"
AUTHOR "Harbour Masters"
VERSION "3.1.0"
)

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)

Expand Down

0 comments on commit 40eb9ec

Please sign in to comment.