From a6f6eca435a69661f0006633d91f12454dda3f2d Mon Sep 17 00:00:00 2001 From: Martin Helmut Fieber Date: Mon, 15 Apr 2024 22:28:10 +0200 Subject: [PATCH] Simplify static asset handling for macOS --- src/app/cmake/AppAssets.cmake | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/app/cmake/AppAssets.cmake b/src/app/cmake/AppAssets.cmake index 79e9b48..929e0fa 100644 --- a/src/app/cmake/AppAssets.cmake +++ b/src/app/cmake/AppAssets.cmake @@ -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})