macos build fixes

This commit is contained in:
2025-08-07 18:34:26 -05:00
parent 7bfb4a9518
commit e8f0b3d8dc
17 changed files with 11 additions and 71 deletions

View File

@@ -36,7 +36,6 @@ function(add_project_executable2 name dependencies libraries headers sources is_
endif()
if (PROJECT_IS_DARWIN AND PROJECT_MACOS_ICNS_SOURCE AND "${name}" STREQUAL "${PROJECT_NAME}")
set(PROJECT_MACOS_ICNS_SOURCE "${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_MACOS_ICNS_NAME}")
set_source_files_properties(${PROJECT_MACOS_ICNS_SOURCE} PROPERTIES
MACOSX_PACKAGE_LOCATION "Resources"
)