~alan-griffiths/miral/fix-miral-qt

1
2
3
4
5
6
7
8
execute_process(
  COMMAND python -c "from PIL import Image"
  RESULT_VARIABLE HAVE_PIL
)

if (NOT ${HAVE_PIL} EQUAL 0)
  message(FATAL_ERROR "Python Imaging Library (PIL) not found")
endif()