Guest User

Untitled

a guest
Nov 29th, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CMake 0.34 KB | None | 0 0
  1.     #
  2.     # this figures out where to install the Python modules
  3.     #
  4.     execute_process(
  5.         COMMAND python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(0,0,\"/usr/local\")"
  6.         OUTPUT_VARIABLE Python_site_packages
  7.         OUTPUT_STRIP_TRAILING_WHITESPACE
  8.     ) # on Ubuntu 11.10 this outputs: /usr/local/lib/python2.7/dist-packages
Add Comment
Please, Sign In to add comment