diff --git a/common/rfb/CMakeLists.txt b/common/rfb/CMakeLists.txt index 82f4a0c..23a2d19 100644 --- a/common/rfb/CMakeLists.txt +++ b/common/rfb/CMakeLists.txt @@ -156,6 +156,7 @@ if (ENABLE_LIBYUV) find_library(LIBYUV_LIBRARY NAMES yuv) #pkg_check_modules(LIBYUV libyuv) if (LIBYUV_FOUND) + add_definitions(-DLIBYUV_CONVERSION) set(RFB_LIBRARIES ${RFB_LIBRARIES} ${LIBYUV_LIBRARY}) endif () endif ()