Update CMakeLists.txt

Co-authored-by: Yaakov Selkowitz <yselkowi@redhat.com>
This commit is contained in:
Gwyn Ciesla
2024-05-08 14:07:20 -05:00
committed by GitHub
parent 3dde9f0762
commit f7df9755fc

View File

@@ -510,7 +510,7 @@ if (WITH_PYTHON)
# Determine where to install the python libraries.
execute_process(
COMMAND ${Python3_EXECUTABLE} -c "from sysconfig import get_path; print(get_path('platlib', 'posix_prefix', {'userbase': '${CMAKE_INSTALL_PREFIX}'}))"
COMMAND ${Python3_EXECUTABLE} -c "from sysconfig import get_path; print(get_path('platlib', 'posix_prefix', {'platbase': '${CMAKE_INSTALL_PREFIX}'}))"
RESULT_VARIABLE PYTHON_SYSCONFIG_RESULT
OUTPUT_VARIABLE PYTHON_SYSCONFIG_OUTPUT
ERROR_VARIABLE PYTHON_SYSCONFIG_ERROR