Change Mac bunlde to use CMake's Mac bundle feature

This commit is contained in:
2018-02-14 21:05:20 -06:00
parent 7e31eda638
commit 9d013ff481
4 changed files with 13 additions and 9 deletions

View File

@@ -5,7 +5,7 @@ project(nostalgia-studio)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
add_executable(
nostalgia-studio
nostalgia-studio MACOSX_BUNDLE
main.cpp
mainwindow.cpp
)
@@ -44,6 +44,7 @@ install(
nostalgia-studio
RUNTIME DESTINATION
${NOSTALGIA_DIST_BIN}
BUNDLE DESTINATION .
)
add_subdirectory(lib)