diff --git a/dist/CMakeLists.txt b/dist/CMakeLists.txt index fbb4208cd..100c52779 100644 --- a/dist/CMakeLists.txt +++ b/dist/CMakeLists.txt @@ -25,5 +25,5 @@ if (UNIX AND NOT APPLE) endif() if (APPLE) - install(FILES macos/strawberry.icns DESTINATION "${CMAKE_BINARY_DIR}/strawberry.app/Contents/Resources") -endif() + install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/../dist/macos/strawberry.icns" DESTINATION "${CMAKE_BINARY_DIR}/strawberry.app/Contents/Resources") +endif (APPLE) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 47f1c2091..3625032a0 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1068,5 +1068,5 @@ if (NOT APPLE) endif() if (APPLE) - set_target_properties(strawberry PROPERTIES MACOSX_BUNDLE_INFO_PLIST "../dist/macos/Info.plist") + set_target_properties(strawberry PROPERTIES MACOSX_BUNDLE_INFO_PLIST "${CMAKE_CURRENT_SOURCE_DIR}/../dist/macos/Info.plist") endif (APPLE)