leleliu008 / xcpkg

A package builder/manager for Xcode to build projects written in C, C++, Rust, Zig, Go, etc.
http://blog.fpliu.com/project/xcpkg
Apache License 2.0
24 stars 3 forks source link

Failed to generate `libpng` static lib #8

Closed ferencIOS closed 1 year ago

ferencIOS commented 1 year ago

Hi!

I am trying to generate the libpng static lib. (M1 - 13.2.1 (22D68))

So running -->

xcpkg install iPhoneOS/14.0/arm64/libpng

This error is thrown -->

=>> STEP 28 : install for target 
[...]
CMake Error at CMakeLists.txt:80 (message):
  PNG_ARM_NEON must be one of [check;on;off]

Thanks in advance.

leleliu008 commented 1 year ago

fixed.

run following commands to obtain the latest version of xcpkg executable and formulas:

./xcpkg upgrade-self
./xcpkg update