Skip to content

Instantly share code, notes, and snippets.

@Jordach
Created July 28, 2021 20:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Jordach/860ea57263c28c0755ef32cf222e6b28 to your computer and use it in GitHub Desktop.
Save Jordach/860ea57263c28c0755ef32cf222e6b28 to your computer and use it in GitHub Desktop.
cmake . -DBUILD_SHARED_LIBS=FALSE -DPNG_PNG_INCLUDE_DIR=/usr/local/libpng/1_6_37/include -DPNG_LIBRARY=/usr/local/libpng/1_6_37/lib/libpng16.a -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" -DCMAKE_INSTALL_PREFIX=bin/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment