Merge branch 'jpeg_includes' of https://github.com/dcommander/tigervnc
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 08ef25c..904809c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -199,6 +199,8 @@
   message(STATUS "WARNING: You are not using libjpeg-turbo. Performance will suffer.")
 endif()
 
+include_directories(${JPEG_INCLUDE_DIR})
+
 option(BUILD_JAVA "Build Java version of the TigerVNC Viewer" FALSE)
 if(BUILD_JAVA)
   add_subdirectory(java)