Ticket #54520: admCheckX264.cmake.diff
File admCheckX264.cmake.diff, 858 bytes (added by bgrupe27, 7 years ago) |
---|
-
admCheckX264.cmake
old new 18 18 MESSAGE("WARNING: x264 core version is too old. At least version 67 is required.") 19 19 SET(X264_FOUND 0) 20 20 ELSE (x264_version LESS 67) 21 IF (x264_version GREATER 73) 22 FIND_HEADER_AND_LIB(X264 x264.h x264 x264_encoder_open_${x264_version}) 23 ENDIF (x264_version GREATER 73) 24 ELSE (x264_version LESS 67) 25 FIND_HEADER_AND_LIB(X264 x264.h x264 x264_encoder_open) 21 FIND_HEADER_AND_LIB(X264 x264.h x264 x264_encoder_open_${x254_version}) 26 22 ENDIF (x264_version LESS 67) 27 23 IF(X264_FOUND) 28 24 SET(USE_X264 True CACHE BOOL "")