]> source.dussan.org Git - tigervnc.git/commitdiff
Make it clear that we were looking for "libjpeg-turbo", not "jpeg-turbo"
authorDRC <dcommander@users.sourceforge.net>
Fri, 24 Jun 2011 04:19:36 +0000 (04:19 +0000)
committerDRC <dcommander@users.sourceforge.net>
Fri, 24 Jun 2011 04:19:36 +0000 (04:19 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4532 3789f03b-4d11-0410-bbf8-ca57d06f2519

CMakeLists.txt

index b4047daad03cdba2beb77921de65cb5f3f1e3562..32917eaa6f0a41f5456cea3dbb1c4e92521b251b 100644 (file)
@@ -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()