We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec38677 commit bd07a26Copy full SHA for bd07a26
src/platform/qt/CMakeLists.txt
@@ -135,7 +135,12 @@ if(WIN32 AND PLATFORM_QT_STATIC)
135
target_link_libraries(NanoBoyAdvance-Qt PRIVATE z zstd $<$<CXX_COMPILER_ID:GNU>:gcc stdc++ winpthread>)
136
endif()
137
138
-install(TARGETS NanoBoyAdvance-Qt DESTINATION bin)
+if(APPLE AND MACOS_BUILD_APP_BUNDLE)
139
+ install(TARGETS NanoBoyAdvance-Qt BUNDLE DESTINATION Applications)
140
+else()
141
+ install(TARGETS NanoBoyAdvance-Qt DESTINATION bin)
142
+endif()
143
+
144
# Variables LINUX and BSD were introduced only with CMake 3.25.
145
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
146
install(FILES rc/io.nanoboyadvance.NanoBoyAdvance.png DESTINATION share/icons/hicolor/128x128/apps)
0 commit comments