]> source.dussan.org Git - tigervnc.git/commitdiff
Clarify when in-tree version of Zlib is being used, and remove redundant "not found...
authorDRC <dcommander@users.sourceforge.net>
Tue, 23 Aug 2011 20:26:11 +0000 (20:26 +0000)
committerDRC <dcommander@users.sourceforge.net>
Tue, 23 Aug 2011 20:26:11 +0000 (20:26 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4647 3789f03b-4d11-0410-bbf8-ca57d06f2519

CMakeLists.txt

index d60f935a467029a021174acfe32d5fdd6aec61d0..b9b327ff7472f0843f1e625d068763d3c49bf714 100644 (file)
@@ -172,9 +172,11 @@ endif()
 find_package(ZLIB)
 option(USE_INCLUDED_ZLIB "Force use of the bundled zlib")
 if(NOT ZLIB_FOUND)
-  message(STATUS "System zlib not found. Using included zlib")
   set(USE_INCLUDED_ZLIB 1)
 endif()
+if(USE_INCLUDED_ZLIB)
+  message(STATUS "Using included zlib library")
+endif()
 
 # Check for gettext
 option(ENABLE_NLS "Enable translation of program messages" ON)