Commits

Dmytro Ryazantcev  committed ec01e85

Fix for libjpeg include. CMake standard FindJPEG.cmake uses JPEG_INCLUDE_DIR.

  • Participants
  • Parent commits 164c404

Comments (0)

Files changed (1)

File libtiff/CMakeLists.txt

 
 # Extra libraries support
 if (JPEG_SUPPORT)
-  include_directories(${JPEG_INCLUDE_DIRS})
+  include_directories(${JPEG_INCLUDE_DIR})
   target_link_libraries(tiff ${JPEG_LIBRARIES})
   target_link_libraries(tiff_static ${JPEG_LIBRARIES})
 endif()