diff options
author | Christian Tismer <tismer@stackless.com> | 2015-12-28 01:15:02 +0100 |
---|---|---|
committer | Christian Tismer <tismer@stackless.com> | 2015-12-28 01:15:02 +0100 |
commit | a0630c3ad0d009d9737a9ac6f4589c03507166a3 (patch) | |
tree | 55977e8640ca9f89bf965c7c175d76b578679fef | |
parent | 50fedd1568aa3d8532f45281bd191f0e1162de0b (diff) | |
parent | f05fcb3eff574790c20197c8b0c4f656597e96f2 (diff) |
Merge pull request #20 from dbrnz/pythondir
Use Python's site-packages directory
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index b491ecc..dc0cb72 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -34,7 +34,7 @@ if (NOT PYTHON_SITE_PACKAGES) COMMAND ${PYTHON_EXECUTABLE} -c "if True: from distutils import sysconfig from os.path import sep - print(sysconfig.get_python_lib(1, 0, prefix='${CMAKE_INSTALL_PREFIX}').replace(sep, '/')) + print(sysconfig.get_python_lib(1, 0).replace(sep, '/')) " OUTPUT_VARIABLE PYTHON_SITE_PACKAGES OUTPUT_STRIP_TRAILING_WHITESPACE) |