mirror of
https://github.com/opencv/opencv.git
synced 2025-01-13 00:01:27 +08:00
project.properties file generation fixed for per-component installation.
(cherry picked from commit 65b4d77959
)
This commit is contained in:
parent
826fc00374
commit
51dff5b9e8
@ -365,7 +365,7 @@ macro(add_android_project target path)
|
|||||||
endif()
|
endif()
|
||||||
install(CODE "EXECUTE_PROCESS(COMMAND ${ANDROID_EXECUTABLE} --silent update project --path . --target \"${android_proj_sdk_target}\" --name \"${target}\" ${inst_lib_opt}
|
install(CODE "EXECUTE_PROCESS(COMMAND ${ANDROID_EXECUTABLE} --silent update project --path . --target \"${android_proj_sdk_target}\" --name \"${target}\" ${inst_lib_opt}
|
||||||
WORKING_DIRECTORY \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/samples/${sample_dir}\"
|
WORKING_DIRECTORY \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/samples/${sample_dir}\"
|
||||||
)" COMPONENT dev)
|
)" COMPONENT samples)
|
||||||
#empty 'gen'
|
#empty 'gen'
|
||||||
install(CODE "MAKE_DIRECTORY(\"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/samples/${sample_dir}/gen\")" COMPONENT samples)
|
install(CODE "MAKE_DIRECTORY(\"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/samples/${sample_dir}/gen\")" COMPONENT samples)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user