From 4c6d370d513937c852612a613d8412b5eebc227d Mon Sep 17 00:00:00 2001 From: wangqr Date: Fri, 17 May 2019 14:46:07 -0400 Subject: [PATCH] Add install target --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 16d52e99f..9e01ff596 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -567,3 +567,8 @@ if (uchardet_FOUND) endif(uchardet_FOUND) #ifdef WITH_UPDATE_CHECKER + +if (NOT WIN32) +set_target_properties(Aegisub PROPERTIES OUTPUT_NAME aegisub) +endif (NOT WIN32) +install (TARGETS Aegisub RENAME aegisub DESTINATION bin)