diff options
Diffstat (limited to 'py')
-rw-r--r-- | py/pykms/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/pykms/CMakeLists.txt b/py/pykms/CMakeLists.txt index a671b7a..505c0c3 100644 --- a/py/pykms/CMakeLists.txt +++ b/py/pykms/CMakeLists.txt @@ -1,7 +1,7 @@ include_directories(${LIBDRM_INCLUDE_DIRS}) link_directories(${LIBDRM_LIBRARY_DIRS}) -pkg_check_modules(PYTHON python3 REQUIRED) +pkg_search_module(PYTHON REQUIRED ${KMSXX_PYTHON_VERSION}) include_directories(${PYTHON_INCLUDE_DIRS}) if (NOT ${U_CMAKE_BUILD_TYPE} MATCHES DEBUG) |