Fix invalid LIBJPEG_DIR reference introduced in 3e9de78fa2

This commit is contained in:
David Capello 2016-03-26 10:39:07 -03:00
parent cf6be7349b
commit 85418c1530

View File

@ -235,7 +235,7 @@ if(USE_SHARED_JPEGLIB)
find_package(JPEG REQUIRED)
else()
set(JPEG_LIBRARIES jpeg)
set(JPEG_INCLUDE_DIRS ${LIBJPEG_DIRS})
set(JPEG_INCLUDE_DIRS ${LIBJPEG_DIR})
endif()
include_directories(${JPEG_INCLUDE_DIRS})