Browse Source

use xcframework for Emgu.CV.Platform.Maui.iOS project

pull/768/merge
canmingh 1 year ago
committed by Canming Huang
parent
commit
f0b67c3c7e
  1. 4
      Emgu.CV.Platform/Maui/iOS/Emgu.CV.Platform.Maui.iOS.csproj

4
Emgu.CV.Platform/Maui/iOS/Emgu.CV.Platform.Maui.iOS.csproj

@ -10,7 +10,7 @@
<PropertyGroup>
<EmguCVIOSLinkTarget>MAUI IOS Library</EmguCVIOSLinkTarget>
<OpenCVBinaryDir>$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\..\..\libs))</OpenCVBinaryDir>
<EmguCVNativeIOSBinary>$(OpenCVBinaryDir)\iOS\libcvextern_universal.a</EmguCVNativeIOSBinary>
<EmguCVNativeIOSBinary>$(OpenCVBinaryDir)\iOS\libcvextern_ios.xcframework</EmguCVNativeIOSBinary>
<EmguCVMauiIOSErrorMessage Condition="!Exists('$(EmguCVNativeIOSBinary)')">This package do not contain necessary binary for $(EmguCVIOSLinkTarget). Emgu CV for iOS Commercial License is required. iOS is targeted, but file $(EmguCVNativeIOSBinary) is missing.</EmguCVMauiIOSErrorMessage>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
@ -47,7 +47,7 @@
<ItemGroup>
<NativeReference Condition="Exists('$(EmguCVNativeIOSBinary)')" Include="$(EmguCVNativeIOSBinary)">
<Kind>Static</Kind>
<Kind>Framework</Kind>
<SmartLink>True</SmartLink>
<ForceLoad>True</ForceLoad>
<IsCxx>True</IsCxx>

Loading…
Cancel
Save