mirror of
https://github.com/ScrelliCopter/tmx2gba.git
synced 2025-02-21 03:29:25 +11:00
Add install rule and update readme with new instructions
This commit is contained in:
@@ -9,3 +9,14 @@ target_link_libraries(tmx2gba
|
||||
External::miniz
|
||||
External::rapidxml
|
||||
External::ultragetopt)
|
||||
|
||||
if (TMX2GBA_DKP_INSTALL)
|
||||
if (DEFINED ENV{DEVKITPRO})
|
||||
set(TMX2GBA_INSTALL_DESTINATION "$ENV{DEVKITPRO}/tools/bin")
|
||||
else()
|
||||
set(TMX2GBA_INSTALL_DESTINATION /opt/devkitpro/tools/bin)
|
||||
endif()
|
||||
else()
|
||||
set(TMX2GBA_INSTALL_DESTINATION bin)
|
||||
endif()
|
||||
install(TARGETS tmx2gba RUNTIME DESTINATION "${TMX2GBA_INSTALL_DESTINATION}")
|
||||
|
||||
Reference in New Issue
Block a user