summaryrefslogtreecommitdiffstats
path: root/Modules/FindPNG.cmake
diff options
context:
space:
mode:
authorFelix Geyer <fgeyer@debian.org>2016-03-29 18:24:20 (GMT)
committerBrad King <brad.king@kitware.com>2016-03-29 18:31:02 (GMT)
commit49e82c15d57db01a95f740f511715064a3887615 (patch)
tree8c03b2bd20b20248d7ab61531aacde3667e7b485 /Modules/FindPNG.cmake
parent90f24f016e93d18f6a244b39fd21c68355bdbe48 (diff)
downloadCMake-49e82c15d57db01a95f740f511715064a3887615.zip
CMake-49e82c15d57db01a95f740f511715064a3887615.tar.gz
CMake-49e82c15d57db01a95f740f511715064a3887615.tar.bz2
Fix spelling typos in comments and documentation (#16037)
The Debian package checker tool (lintian) detected several typos in CMake.
Diffstat (limited to 'Modules/FindPNG.cmake')
-rw-r--r--Modules/FindPNG.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/FindPNG.cmake b/Modules/FindPNG.cmake
index cae41ac..5050d91 100644
--- a/Modules/FindPNG.cmake
+++ b/Modules/FindPNG.cmake
@@ -85,7 +85,7 @@ if(ZLIB_FOUND)
list(APPEND PNG_NAMES_DEBUG png${v}d libpng${v}d)
endforeach()
unset(_PNG_VERSION_SUFFIXES)
- # For compatiblity with versions prior to this multi-config search, honor
+ # For compatibility with versions prior to this multi-config search, honor
# any PNG_LIBRARY that is already specified and skip the search.
if(NOT PNG_LIBRARY)
find_library(PNG_LIBRARY_RELEASE NAMES ${PNG_NAMES})
@@ -104,7 +104,7 @@ if(ZLIB_FOUND)
if (PNG_LIBRARY AND PNG_PNG_INCLUDE_DIR)
# png.h includes zlib.h. Sigh.
set(PNG_INCLUDE_DIRS ${PNG_PNG_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR} )
- set(PNG_INCLUDE_DIR ${PNG_INCLUDE_DIRS} ) # for backward compatiblity
+ set(PNG_INCLUDE_DIR ${PNG_INCLUDE_DIRS} ) # for backward compatibility
set(PNG_LIBRARIES ${PNG_LIBRARY} ${ZLIB_LIBRARY})
if (CYGWIN)