mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
Fixed mutially exclusive CAIRO and SWSCALE includes
When both are defined there was a build error due to missing includes.
This commit is contained in:
@@ -93,10 +93,12 @@ endif(WITH_CAIRO)
|
||||
if (WITH_SWSCALE)
|
||||
include_directories(${SWScale_INCLUDE_DIR})
|
||||
freerdp_library_add(${SWScale_LIBRARY})
|
||||
elseif (WITH_CAIRO)
|
||||
endif()
|
||||
if (WITH_CAIRO)
|
||||
include_directories(${CAIRO_INCLUDE_DIR})
|
||||
freerdp_library_add(${CAIRO_LIBRARY})
|
||||
else()
|
||||
endif()
|
||||
if (NOT WITH_SWSCALE AND NOT WITH_CAIRO)
|
||||
message(WARNING "-DWITH_SWSCALE=OFF and -DWITH_CAIRO=OFF, compiling without image scaling support!")
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user