From 1e0bff3268af9c03addf60f8dee33064e7122194 Mon Sep 17 00:00:00 2001 From: Alexander Smorkalov Date: Thu, 15 Nov 2012 11:24:41 +0400 Subject: [PATCH] Issue #2541 make install does not work for Android build fixed. --- android/libinfo/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/libinfo/CMakeLists.txt b/android/libinfo/CMakeLists.txt index f8e8e15afe..028413ec6e 100644 --- a/android/libinfo/CMakeLists.txt +++ b/android/libinfo/CMakeLists.txt @@ -35,5 +35,5 @@ set_target_properties(${the_module} PROPERTIES INSTALL_NAME_DIR lib ) -get_filename_component(lib_name "opencv_info" NAME) -install(FILES "${LIBRARY_OUTPUT_PATH}/${lib_name}" DESTINATION ${OPENCV_LIB_INSTALL_PATH} COMPONENT main) \ No newline at end of file +get_filename_component(lib_name "libopencv_info.so" NAME) +install(FILES "${LIBRARY_OUTPUT_PATH}/${lib_name}" DESTINATION ${OPENCV_LIB_INSTALL_PATH} COMPONENT main)