Skip to content
Snippets Groups Projects
Commit 4cb33cb1 authored by Marcel Loose's avatar Marcel Loose :sunglasses:
Browse files

Task #8247: Applied patch, but retained the option 'plat_specific=True',...

Task #8247: Applied patch, but retained the option 'plat_specific=True', because it is needed on RPM-based 64-bit systems.
parent 6ca03cf6
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,11 @@ find_package(PythonInterp)
if(PYTHON_EXECUTABLE)
set(_cmd
"from distutils.sysconfig import get_python_lib"
"print(get_python_lib(plat_specific=True, prefix=''))")
"from os.path import join"
"print(join(
get_python_lib(plat_specific=True, standard_lib=True, prefix=''),
'site-packages'))"
)
execute_process(
COMMAND "${PYTHON_EXECUTABLE}" "-c" "${_cmd}"
OUTPUT_VARIABLE _pydir
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment