~thomir-deactivatedaccount/ubuntu-calendar-app/trunk-fix-ugly-bits

« back to all changes in this revision

Viewing changes to tests/autopilot/CMakeLists.txt

  • Committer: Sergio Schvezov
  • Date: 2014-01-18 23:29:11 UTC
  • mto: This revision was merged to the branch mainline in revision 184.
  • Revision ID: sergio.schvezov@canonical.com-20140118232911-p3jdkkomszdl2l70
Adding cmake 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
if(INSTALL_TESTS)
 
2
execute_process(COMMAND python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()"
 
3
    OUTPUT_VARIABLE PYTHON_PACKAGE_DIR OUTPUT_STRIP_TRAILING_WHITESPACE)
 
4
 
 
5
install(DIRECTORY ${AUTOPILOT_DIR}
 
6
    DESTINATION ${PYTHON_PACKAGE_DIR}
 
7
    )
 
8
endif(INSTALL_TESTS)