summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorDRC <dcommander@users.sourceforge.net>2011-06-24 04:19:36 +0000
committerDRC <dcommander@users.sourceforge.net>2011-06-24 04:19:36 +0000
commit1953b5111a3e64273d1d3e9d541b2a55aad19b09 (patch)
treed51306cf977e08ca1bf381ddf0b92ead6f101646 /CMakeLists.txt
parent2690f7ae11eda4ec329839c6f02e2799465d0f13 (diff)
downloadtigervnc-1953b5111a3e64273d1d3e9d541b2a55aad19b09.tar.gz
tigervnc-1953b5111a3e64273d1d3e9d541b2a55aad19b09.zip
Make it clear that we were looking for "libjpeg-turbo", not "jpeg-turbo"
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4532 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b4047daa..32917eaa 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -176,12 +176,12 @@ find_package(JPEG REQUIRED)
set(CMAKE_REQUIRED_LIBRARIES ${JPEG_LIBRARIES})
set(CMAKE_REQUIRED_FLAGS -I${JPEG_INCLUDE_DIR})
-check_c_source_compiles("#include <stdio.h>\n#include <jpeglib.h>\nint main(int c, char** v) { return JCS_EXT_RGBX; }" FOUND_JPEG_TURBO)
+check_c_source_compiles("#include <stdio.h>\n#include <jpeglib.h>\nint main(int c, char** v) { return JCS_EXT_RGBX; }" FOUND_LIBJPEG_TURBO)
set(CMAKE_REQUIRED_LIBRARIES)
set(CMAKE_REQUIRED_FLAGS)
-if(NOT FOUND_JPEG_TURBO)
+if(NOT FOUND_LIBJPEG_TURBO)
message(STATUS "WARNING: You are not using libjpeg-turbo. Performance will suffer.")
endif()