File tree Expand file tree Collapse file tree 4 files changed +12
-2
lines changed
Expand file tree Collapse file tree 4 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -28,4 +28,9 @@ if( USE_TBB )
2828 BUILD_COMMAND "${CMAKE_COMMAND} " --build "${CMAKE_CURRENT_BINARY_DIR} /ppc_onetbb/build" --config ${CMAKE_BUILD_TYPE} --parallel
2929 INSTALL_COMMAND "${CMAKE_COMMAND} " --install "${CMAKE_CURRENT_BINARY_DIR} /ppc_onetbb/build" --prefix "${CMAKE_CURRENT_BINARY_DIR} /ppc_onetbb/install" )
3030 endif ()
31+ add_custom_command (TARGET ppc_onetbb POST_BUILD
32+ COMMAND ${CMAKE_COMMAND} -E copy_directory
33+ "${CMAKE_CURRENT_BINARY_DIR} /ppc_onetbb/install"
34+ "${CMAKE_INSTALL_PREFIX} "
35+ )
3136endif ( USE_TBB )
Original file line number Diff line number Diff line change 2828 BUILD_COMMAND "${CMAKE_COMMAND} " --build "${CMAKE_CURRENT_BINARY_DIR} /ppc_opencv/build" --config ${CMAKE_BUILD_TYPE} --parallel
2929 INSTALL_COMMAND "${CMAKE_COMMAND} " --install "${CMAKE_CURRENT_BINARY_DIR} /ppc_opencv/build" --prefix "${CMAKE_CURRENT_BINARY_DIR} /ppc_opencv/install" )
3030endif ()
31+ add_custom_command (TARGET ppc_opencv POST_BUILD
32+ COMMAND ${CMAKE_COMMAND} -E copy_directory
33+ "${CMAKE_CURRENT_BINARY_DIR} /ppc_opencv/install"
34+ "${CMAKE_INSTALL_PREFIX} "
35+ )
Original file line number Diff line number Diff line change 11#! /bin/bash
2- source build/ppc_opencv/install/bin/ setup_vars_opencv4.sh
2+ source $( which setup_vars_opencv4.sh)
33
44if [[ $OSTYPE == " linux-gnu" && -z " $ASAN_RUN " ]]; then
55 valgrind --error-exitcode=1 --leak-check=full --show-leak-kinds=all core_func_tests
Original file line number Diff line number Diff line change 11#! /bin/bash
2- source build/ppc_opencv/install/bin/ setup_vars_opencv4.sh
2+ source $( which setup_vars_opencv4.sh)
33
44if [[ $OSTYPE == " linux-gnu" && -z " $ASAN_RUN " ]]; then
55 valgrind --error-exitcode=1 --leak-check=full --show-leak-kinds=all core_func_tests
You can’t perform that action at this time.
0 commit comments