1 diff --git a/CMakeLists.txt b/CMakeLists.txt
2 index 4aee99fb..0bb28897 100644
5 @@ -19,7 +19,7 @@ ELSE ()
6 MESSAGE (FATAL_ERROR "Invalid PYTHON_DESIRED value: " ${PYTHON_DESIRED})
9 -EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "from sys import stdout; from sysconfig import get_path; stdout.write(get_path('purelib'))" OUTPUT_VARIABLE PYTHON_INSTALL_DIR)
10 +SET(PYTHON_INSTALL_DIR "@PYTHON_INSTALL_DIR@")
11 MESSAGE(STATUS "Python install dir is ${PYTHON_INSTALL_DIR}")
13 ADD_SUBDIRECTORY (dnf)