Add icon in the CMake macOS bundle (#3832)

This commit is contained in:
exstrim401 2022-06-25 13:42:50 +05:00 committed by GitHub
parent 9583b49653
commit 95e6d8ac2f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View file

@ -35,6 +35,7 @@
- Bugfix: Fixed automod queue pubsub topic persisting after user change. (#3718)
- Bugfix: Fixed viewer list not closing after pressing escape key. (#3734)
- Bugfix: Fixed links with no thumbnail having previous link's thumbnail. (#3720)
- Bugfix: Add icon in the CMake macOS bundle. (#3832)
- Dev: Rewrite LimitedQueue (#3798)
- Dev: Overhaul highlight system by moving all checks into a Controller allowing for easier tests. (#3399, #3801)
- Dev: Use Game Name returned by Get Streams instead of querying it from the Get Games API. (#3662)

View file

@ -553,7 +553,11 @@ else()
endif()
if (BUILD_APP)
add_executable(${EXECUTABLE_PROJECT} main.cpp)
if (APPLE)
add_executable(${EXECUTABLE_PROJECT} ${MACOS_BUNDLE_ICON_FILE} main.cpp)
else()
add_executable(${EXECUTABLE_PROJECT} main.cpp)
endif()
add_sanitizers(${EXECUTABLE_PROJECT})
target_include_directories(${EXECUTABLE_PROJECT} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})