Merge remote-tracking branch 'origin/master'

This commit is contained in:
Bruno Herbelin
2022-11-19 20:20:27 +01:00
3 changed files with 5 additions and 8 deletions

View File

@@ -64,6 +64,9 @@ if(UNIX)
# CPACK # CPACK
set(CPACK_SYSTEM_NAME "OSX_${CMAKE_OSX_DEPLOYMENT_TARGET}_${CMAKE_OSX_ARCHITECTURES}") set(CPACK_SYSTEM_NAME "OSX_${CMAKE_OSX_DEPLOYMENT_TARGET}_${CMAKE_OSX_ARCHITECTURES}")
set(CPACK_GENERATOR DragNDrop)
set(CPACK_BINARY_DRAGNDROP ON)
set(APPLE_CODESIGN_ENTITLEMENTS "${CMAKE_CURRENT_SOURCE_DIR}/osx/entitlements.plist")
# find icu4c in OSX (pretty well hidden...) # find icu4c in OSX (pretty well hidden...)
set(ENV{PKG_CONFIG_PATH} "$ENV{PKG_CONFIG_PATH}:/usr/local/opt/icu4c/lib/pkgconfig") set(ENV{PKG_CONFIG_PATH} "$ENV{PKG_CONFIG_PATH}:/usr/local/opt/icu4c/lib/pkgconfig")

View File

@@ -54,13 +54,12 @@
<key>NSAllowsArbitraryLoads</key> <key>NSAllowsArbitraryLoads</key>
<true/> <true/>
</dict> </dict>
<key>NSHighResolutionCapable</key>
<true/>
<key>NSCameraUsageDescription</key> <key>NSCameraUsageDescription</key>
<string>vimix needs to access the camera to enable camera sources.</string> <string>vimix needs to access the camera to enable camera sources.</string>
<key>NSHighResolutionCapable</key>
<key>NSMicrophoneUsageDescription</key> <key>NSMicrophoneUsageDescription</key>
<string>vimix needs to access the microphone to enable sound sources.</string> <string>vimix needs to access the microphone to enable sound sources.</string>
<key>NSMicrophoneUsageDescription</key>
<true/>
<key>NSHumanReadableCopyright</key> <key>NSHumanReadableCopyright</key>
<string>Copyright © 2022 Bruno Herbelin. All rights reserved.</string> <string>Copyright © 2022 Bruno Herbelin. All rights reserved.</string>
<key>NSPrincipalClass</key> <key>NSPrincipalClass</key>

View File

@@ -170,10 +170,6 @@ target_link_libraries(${VMIX_BINARY} LINK_PRIVATE
IF(APPLE) IF(APPLE)
# Bundle target
set(CPACK_GENERATOR DragNDrop)
set(CPACK_BINARY_DRAGNDROP ON)
install(TARGETS ${VMIX_BINARY} install(TARGETS ${VMIX_BINARY}
CONFIGURATIONS Release RelWithDebInfo CONFIGURATIONS Release RelWithDebInfo
BUNDLE DESTINATION . COMPONENT Runtime BUNDLE DESTINATION . COMPONENT Runtime
@@ -242,7 +238,6 @@ IF(APPLE)
COMPONENT Runtime COMPONENT Runtime
) )
set(APPLE_CODESIGN_ENTITLEMENTS "${CMAKE_CURRENT_SOURCE_DIR}/osx/entitlements.plist")
set(APPLE_CODESIGN_IDENTITY "" CACHE STRING "") set(APPLE_CODESIGN_IDENTITY "" CACHE STRING "")
string(LENGTH "${APPLE_CODESIGN_IDENTITY}" APPLE_CODESIGN_IDENTITY_LENGHT) string(LENGTH "${APPLE_CODESIGN_IDENTITY}" APPLE_CODESIGN_IDENTITY_LENGHT)
if( ${APPLE_CODESIGN_IDENTITY_LENGHT} LESS 40 ) if( ${APPLE_CODESIGN_IDENTITY_LENGHT} LESS 40 )