Commit 7a5aa06b authored by Chris Mayo's avatar Chris Mayo Committed by Dikay900

Act on INSTALL_PYTHON_EXAMPLES

Conflicts:
	samples/CMakeLists.txt
parent a21fb63c
...@@ -25,6 +25,10 @@ if(INSTALL_C_EXAMPLES) ...@@ -25,6 +25,10 @@ if(INSTALL_C_EXAMPLES)
PERMISSIONS OWNER_READ GROUP_READ WORLD_READ COMPONENT samples) PERMISSIONS OWNER_READ GROUP_READ WORLD_READ COMPONENT samples)
endif() endif()
if(INSTALL_PYTHON_EXAMPLES)
add_subdirectory(python2)
endif()
# #
# END OF BUILD CASE 1: Build samples with library sources # END OF BUILD CASE 1: Build samples with library sources
# #
......
if(INSTALL_PYTHON_EXAMPLES)
file(GLOB install_list *.py )
install(FILES ${install_list}
DESTINATION ${OPENCV_SAMPLES_SRC_INSTALL_PATH}/python2
PERMISSIONS OWNER_READ GROUP_READ WORLD_READ COMPONENT samples)
endif()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment