Hi all,

I have a CMake build for a Python package where the installation directory is

SET(PyTrilinos_INSTALL_DIR
  
${PyTrilinos_INSTALL_PREFIX}/lib/python${PYTHON_VERSION}/site-packages/MyPackage
  CACHE PATH "The path where MyPackage will be installed"
  )

This creates a problem for a default Ubuntu install which requires
system packages to be installed into dist-packages.
Is there a variable that I could provide instead of
${PyTrilinos_INSTALL_PREFIX}/lib/python${PYTHON_VERSION}/site-packages/,
something like ${DEFAULT_PYTHON_INSTALL_DIR}? How do you handle this?

--Nico
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to