SET(X265_FOUND 0)
ELSE (x265_version LESS 9)
IF(NOT WIN32)
SET(DL dl)
ENDIF(NOT WIN32)
FIND_HEADER_AND_LIB(X265 x265.h x265 x265_encoder_open_${x265_version} ${DL})
ENDIF (x265_version LESS 9)