swh:1:snp:3cba5856b0ddc3feab6c3c2d096d614b02c883ec
Raw File
Tip revision: 9703b32c1c75b0b343bb5043030a08a1b1345a20 authored by Brad King on 02 June 2016, 18:56:09 UTC
Merge branch 'FindHDF5-fix-already-found' into release
Tip revision: 9703b32
X11.c
#include "stdio.h"
#ifdef CMAKE_HAS_X

#include <X11/Xlib.h>
#include <X11/Xutil.h>

int main()
{
  printf("There is X on this computer\n");
  return 0;
}

#else

int main()
{
  printf("No X on this computer\n");
  return 0;
}

#endif
back to top