You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
365 B
19 lines
365 B
#use pkg-config to find various modues
|
|
INCLUDE(FindPkgConfig OPTIONAL)
|
|
|
|
IF(PKG_CONFIG_FOUND)
|
|
|
|
INCLUDE(FindPkgConfig)
|
|
|
|
#Version 2.35 introduces the rsvg_cleanup function which is used
|
|
PKG_CHECK_MODULES(RSVG librsvg-2.0>=2.35)
|
|
|
|
PKG_CHECK_MODULES(CAIRO cairo)
|
|
|
|
IF (RSVG_FOUND AND NOT CAIRO_FOUND)
|
|
SET(RSVG_FOUND FALSE)
|
|
ENDIF()
|
|
|
|
|
|
ENDIF()
|