1 2 3
pkg:setup cmake . -DLIBZIP_INCLUDE_DIR=#{Formula[libzip"].lib}/libzip/include" -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE} make DESTDIR=${PKG_DEST} install