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

« back to all changes in this revision

Viewing changes to cmake/FindPIL.cmake

  • Committer: Alan Griffiths
  • Date: 2016-04-08 16:32:03 UTC
  • Revision ID: alan@octopull.co.uk-20160408163203-tnsmig8z5imqt1j7
Fix clang build

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
execute_process(
 
2
  COMMAND python -c "from PIL import Image"
 
3
  RESULT_VARIABLE HAVE_PIL
 
4
)
 
5
 
 
6
if (NOT ${HAVE_PIL} EQUAL 0)
 
7
  message(FATAL_ERROR "Python Imaging Library (PIL) not found")
 
8
endif()