FIND_PATH(TURBOJPEG_INCLUDE_DIR NAMES turbojpeg.h)
MARK_AS_ADVANCED(TURBOJPEG_INCLUDE_DIR)
 
FIND_LIBRARY(TURBOJPEG_LIBRARY NAMES
turbojpeg
libturbojpeg
)
MARK_AS_ADVANCED(TURBOJPEG_LIBRARY)
 
INCLUDE(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(TurboJpeg DEFAULT_MSG TURBOJPEG_LIBRARY TURBOJPEG_INCLUDE_DIR)
