aboutsummaryrefslogtreecommitdiff
path: root/modules/FindPNG.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'modules/FindPNG.cmake')
-rw-r--r--modules/FindPNG.cmake3
1 files changed, 0 insertions, 3 deletions
diff --git a/modules/FindPNG.cmake b/modules/FindPNG.cmake
index c0c18d8e..1648d82e 100644
--- a/modules/FindPNG.cmake
+++ b/modules/FindPNG.cmake
@@ -21,15 +21,12 @@ SET(PNG_FOUND "NO")
IF(ZLIB_FOUND)
FIND_PATH(PNG_PNG_INCLUDE_DIR png.h
- /usr/local/include
- /usr/include
/usr/local/include/libpng # OpenBSD
)
SET(PNG_NAMES ${PNG_NAMES} png libpng)
FIND_LIBRARY(PNG_LIBRARY
NAMES ${PNG_NAMES}
- PATHS /usr/lib /usr/local/lib
)
IF (PNG_LIBRARY AND PNG_PNG_INCLUDE_DIR)