projects
/
platform
/
upstream
/
VK-GL-CTS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bc2f18
)
cmake: look for png.h, not libpng.h
author
Ilia Mirkin
<imirkin@alum.mit.edu>
Wed, 20 Jan 2016 18:00:25 +0000
(13:00 -0500)
committer
Sean Paul
<seanpaul@google.com>
Wed, 20 Jan 2016 18:24:30 +0000
(13:24 -0500)
libpng ships png.h, so look for that instead of libpng.h
Change-Id: Ifdbe0fca9e5b93973653a94e6ab800f1bfad8ecf
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
9760d72
..
da3e0ae
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-66,7
+66,7
@@
endif ()
include_directories(${ZLIB_INCLUDE_PATH})
# libpng
-find_path(PNG_INCLUDE_PATH
lib
png.h)
+find_path(PNG_INCLUDE_PATH png.h)
find_library(PNG_LIBRARY png)
if (NOT PNG_INCLUDE_PATH OR NOT PNG_LIBRARY)