Skip to content

Commit

Permalink
Simplify static asset handling for macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinHelmut committed Apr 15, 2024
1 parent 9bdc3ee commit 93fd1b5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/app/cmake/AppAssets.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin")
set(MACOSX_STATIC_ASSETS
${SHARED_STATIC_ASSETS}
${PROJECT_SOURCE_DIR}/src/assets/icons/icon.icns)
set_source_files_properties(${MACOSX_STATIC_ASSETS}
PROPERTIES MACOSX_PACKAGE_LOCATION ${CMAKE_INSTALL_DATADIR})
target_sources(${NAME} PUBLIC ${MACOSX_STATIC_ASSETS})
elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux")
target_sources(${NAME} PRIVATE ${SHARED_STATIC_ASSETS})
Expand Down

0 comments on commit 93fd1b5

Please sign in to comment.