- new
[packages/flann.git] / flann-python.patch
1 --- flann-1.7.1-src/src/python/CMakeLists.txt.orig      2011-12-23 12:16:09.000000000 +0100
2 +++ flann-1.7.1-src/src/python/CMakeLists.txt   2012-02-02 17:07:06.212529926 +0100
3 @@ -1,12 +1,12 @@
4  configure_file( setup.py.tpl setup.py )
5  
6 -install( DIRECTORY pyflann DESTINATION share/flann/python )
7 -install( FILES ${CMAKE_CURRENT_BINARY_DIR}/setup.py DESTINATION share/flann/python )
8 +#install( DIRECTORY pyflann DESTINATION share/flann/python )
9 +#install( FILES ${CMAKE_CURRENT_BINARY_DIR}/setup.py DESTINATION share/flann/python )
10  
11  
12  # python instalation
13  if (PYTHON_EXECUTABLE)
14      install(CODE "execute_process(
15 -        COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/setup.py install
16 +        COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/setup.py install --optimize=2 --root=\$ENV{DESTDIR}
17          WORKING_DIRECTORY \"${CMAKE_CURRENT_SOURCE_DIR}\")")
18  endif()
This page took 0.072328 seconds and 3 git commands to generate.