84
84
set (includedir "${prefix}/${CMAKE_INSTALL_INCLUDEDIR}") # (...)/include
85
85
set (bindir "${prefix}/${CMAKE_INSTALL_BINDIR}") # (...)/bin
87
90
########### dependencies ###############
89
92
set (packages_required "glib-2.0 gthread-2.0 cairo librsvg-2.0 dbus-1 dbus-glib-1 libxml-2.0 xrender gl glu pangox libcurl") # for the .pc and to have details
90
93
STRING (REGEX REPLACE " " ";" packages_required_semicolon ${packages_required}) # replace blank space by semicolon => to have more details if a package is missing
91
94
pkg_check_modules ("PACKAGE" REQUIRED "${packages_required_semicolon}")
94
97
enable_if_not_defined (enable-x11-ext-support) # enabled by default
95
98
if (enable-x11-ext-support)
96
99
set (xextend_required "xtst xcomposite xrandr") # for the .pc