mirror of
https://github.com/edubart/otclient.git
synced 2025-10-21 23:05:54 +02:00
remove usage of libpng with custom save_png
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
# PNG_INCLUDE_DIR - the PNG include directory
|
||||
# PNG_LIBRARY - the PNG library
|
||||
|
||||
FIND_PATH(PNG_INCLUDE_DIR NAMES png.h)
|
||||
FIND_PATH(PNG_INCLUDE_DIR NAMES png.h PATH_SUFFIXES libpng15 libpng)
|
||||
FIND_LIBRARY(PNG_LIBRARY NAMES libpng15.a libpng.a png15 png)
|
||||
INCLUDE(FindPackageHandleStandardArgs)
|
||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(PNG DEFAULT_MSG PNG_LIBRARY PNG_INCLUDE_DIR)
|
||||
|
Reference in New Issue
Block a user