parent
1c12bc3fb2
commit
cc965bb77b
@ -0,0 +1,10 @@
|
|||||||
|
# Try to find the PNG librairy
|
||||||
|
# PNG_FOUND - system has PNG
|
||||||
|
# PNG_INCLUDE_DIR - the PNG include directory
|
||||||
|
# PNG_LIBRARY - the PNG library
|
||||||
|
|
||||||
|
FIND_PATH(PNG_INCLUDE_DIR NAMES png.h)
|
||||||
|
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)
|
||||||
|
MARK_AS_ADVANCED(PNG_LIBRARY PNG_INCLUDE_DIR)
|
Loading…
Reference in new issue