[libcalamaresui] Use PYTHONQT_INCLUDE_DIRS

- document new variable from the CMake module
 - use it in libcalamaresui to simplify #include'ing the
   header for the "all" extension.

Suggested by Denis Proskurin.
This commit is contained in:
Adriaan de Groot 2018-09-03 06:26:26 -04:00
parent 54bee71b44
commit 4602b30264
3 changed files with 6 additions and 2 deletions

View file

@ -2,6 +2,9 @@
#
# Sets PYTHONQT_FOUND, PYTHONQT_INCLUDE_DIR, PYTHONQT_LIBRARY, PYTHONQT_LIBRARIES
#
# Also sets PYTHONQT_INCLUDE_DIRS to add whatever directories
# that are needed for extensions.
#
# Python is required
find_package(PythonLibs)