Fix macOS install
This commit is contained in:
parent
c271e05abc
commit
b6db96b653
4
dist/CMakeLists.txt
vendored
4
dist/CMakeLists.txt
vendored
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user