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:
parent
187b553b97
commit
6ab2cb6d99
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user