Prevent native c/c++/ocl/gpu CMakeLists.txt install if samples are turned off.
This commit is contained in:
parent
396f7e1a17
commit
911be68a41
@ -19,9 +19,11 @@ if(ANDROID AND BUILD_ANDROID_EXAMPLES)
|
|||||||
add_subdirectory(android)
|
add_subdirectory(android)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
install(FILES "CMakeLists.txt"
|
if(INSTALL_C_EXAMPLES)
|
||||||
DESTINATION ${OPENCV_SAMPLES_SRC_INSTALL_PATH}
|
install(FILES "CMakeLists.txt"
|
||||||
PERMISSIONS OWNER_READ GROUP_READ WORLD_READ COMPONENT samples)
|
DESTINATION ${OPENCV_SAMPLES_SRC_INSTALL_PATH}
|
||||||
|
PERMISSIONS OWNER_READ GROUP_READ WORLD_READ COMPONENT samples)
|
||||||
|
endif()
|
||||||
|
|
||||||
#
|
#
|
||||||
# END OF BUILD CASE 1: Build samples with library sources
|
# END OF BUILD CASE 1: Build samples with library sources
|
||||||
|
Loading…
Reference in New Issue
Block a user