• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1get_filename_component(rootdir "$ENV{DESTDIR}" ABSOLUTE)
2if(rootdir STREQUAL "")
3  set(rootdir /)
4endif()
5execute_process(
6  COMMAND "@PYTHON_EXECUTABLE@" setup.py install
7    --skip-build
8    --root=${rootdir} --prefix=${CMAKE_INSTALL_PREFIX}
9  WORKING_DIRECTORY "@CMAKE_CURRENT_BINARY_DIR@"
10)
11