diff --git a/py/CMakeLists.txt b/py/CMakeLists.txt
index 77664808a41c8b35984ba7846f55a25e58246350..c6341d81444a8f7be11205a24c9377f59becbddf 100644 (file)
--- a/py/CMakeLists.txt
+++ b/py/CMakeLists.txt
include_directories(${LIBDRM_INCLUDE_DIRS})
link_directories(${LIBDRM_LIBRARY_DIRS})
-pkg_check_modules(PYTHON python-3.4 REQUIRED)
+pkg_check_modules(PYTHON python3 REQUIRED)
include_directories(${PYTHON_INCLUDE_DIRS})
# XXX how to add these inc dirs in a proper way?