blob: 96b0af1c903d7d9641a506bec87e0522d261150c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#include <assert.h>
#include <fontconfig/fontconfig.h>
#include <stdio.h>
#include <string.h>
int main(void)
{
FcInit();
printf("Found Fontconfig.\n");
char fontconfig_version_string[16];
snprintf(fontconfig_version_string, 16, "%i.%i.%i", FC_MAJOR, FC_MINOR,
FC_REVISION);
assert(
strcmp(fontconfig_version_string, CMAKE_EXPECTED_FONTCONFIG_VERSION) == 0);
return 0;
}
|