Skip to content
Snippets Groups Projects
Commit 68c239cc709f authored by Nick Wellnhofer's avatar Nick Wellnhofer
Browse files

cmake: Fix Python installation

Don't install into ${Python_SITEARCH} for now.
parent 39f04dd7e65e
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,9 @@
check_include_files(unistd.h HAVE_UNISTD_H)
check_symbol_exists(F_GETFL fcntl.h HAVE_F_GETFL)
find_package(Python COMPONENTS Interpreter Development REQUIRED)
set(LIBXSLT_PYTHON_INSTALL_DIR ${Python_SITEARCH} CACHE PATH "Python bindings install directory")
#set(LIBXSLT_PYTHON_INSTALL_DIR ${Python_SITEARCH} CACHE PATH "Python bindings install directory")
set(LIBXSLT_PYTHON_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/python"
CACHE PATH "Python bindings install directory")
endif()
if(LIBXSLT_WITH_THREADS)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment