| View Issue Details [ Jump to Notes ] | [ Print ] |
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0011312 | CMake | Modules | public | 2010-10-14 03:09 | 2011-12-16 17:13 |
|
| Reporter | Marcel Loose | |
| Assigned To | Alex Neundorf | |
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | |
| Platform | | OS | | OS Version | |
| Product Version | CMake-2-8 | |
| Target Version | CMake 2.8.7 | Fixed in Version | CMake 2.8.7 | |
|
| Summary | 0011312: FindPNG does not set PNG_INCLUDE_DIRS |
| Description | FindPNG does not set PNG_INCLUDE_DIRS as it should according to the FindXXX coding standards. The uploaded patch fixes this.
|
| Tags | No tags attached. |
|
| Attached Files | FindPNG.cmake.patch [^] (458 bytes) 2010-10-14 03:09 [Show Content] [Hide Content]diff --git a/Modules/FindPNG.cmake b/Modules/FindPNG.cmake
index 4fb218b..d69e27a 100644
--- a/Modules/FindPNG.cmake
+++ b/Modules/FindPNG.cmake
@@ -39,6 +39,7 @@ if(ZLIB_FOUND)
if (PNG_LIBRARY AND PNG_PNG_INCLUDE_DIR)
# png.h includes zlib.h. Sigh.
SET(PNG_INCLUDE_DIR ${PNG_PNG_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR} )
+ SET(PNG_INCLUDE_DIRS ${PNG_INCLUDE_DIR})
SET(PNG_LIBRARIES ${PNG_LIBRARY} ${ZLIB_LIBRARY})
if (CYGWIN)
|
|