Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ set(CMAKE_XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY "")

# Dependencies

set_source_files_properties("./res/app.icns" PROPERTIES MACOSX_PACKAGE_LOCATION "Resources")

## LSL
if(ANDROID)
set(LIBLSL_SOURCE_PATH "../../LSL/liblsl" CACHE STRING "Path to liblsl sources")
Expand Down Expand Up @@ -57,7 +59,7 @@ find_package(Threads REQUIRED)
add_subdirectory(xdfwriter)

if (BUILD_GUI)
add_executable(${PROJECT_NAME} MACOSX_BUNDLE)
add_executable(${PROJECT_NAME} MACOSX_BUNDLE ${app_icon_resource_windows})

target_sources(${PROJECT_NAME} PRIVATE
src/main.cpp
Expand Down
Binary file added res/app.icns
Binary file not shown.
Binary file added res/app.ico
Binary file not shown.
1 change: 1 addition & 0 deletions res/app.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
IDI_ICON1 ICON DISCARDABLE "app.ico"
Binary file added res/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.