Fixed swscale and cairo checks

This commit is contained in:
Armin Novak
2022-07-06 14:04:06 +02:00
committed by akallabeth
parent 727f2bc652
commit 3bedc1f92e
4 changed files with 9 additions and 9 deletions

View File

@@ -91,11 +91,9 @@ endif(WITH_CAIRO)
# Prefer SWScale over Cairo, both at the same time are not possible.
if (WITH_SWSCALE)
add_definitions(-DSWSCALE_FOUND=1)
include_directories(${SWScale_INCLUDE_DIR})
freerdp_library_add(${SWScale_LIBRARY})
elseif (WITH_CAIRO)
add_definitions(-DCAIRO_FOUND=1)
include_directories(${CAIRO_INCLUDE_DIR})
freerdp_library_add(${CAIRO_LIBRARY})
else()