Fixed Android install target

This commit is contained in:
Andrey Kamaev
2011-06-17 11:10:35 +00:00
parent d84b5a9b36
commit 6e8b4e646a
3 changed files with 20 additions and 18 deletions

View File

@@ -45,4 +45,8 @@ foreach(wrapper ${camera_wrappers})
POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy "${wrapper}" "${LIBRARY_OUTPUT_PATH}"
)
get_filename_component(wrapper_name "${wrapper}" NAME)
install(FILES "${LIBRARY_OUTPUT_PATH}/${wrapper_name}"
DESTINATION lib
COMPONENT main)
endforeach()