Tweak strip flags for Android camera wrapper libs

pull/31/head^2
Andrey Kamaev 12 years ago
parent 1e69d47ba5
commit 4772c42c66
  1. 2
      modules/androidcamera/camera_wrapper/CMakeLists.txt

@ -59,7 +59,7 @@ SET_TARGET_PROPERTIES(${the_target} PROPERTIES
)
if (NOT (CMAKE_BUILD_TYPE MATCHES "debug"))
ADD_CUSTOM_COMMAND( TARGET ${the_target} POST_BUILD COMMAND ${CMAKE_STRIP} "${LIBRARY_OUTPUT_PATH}/lib${the_target}.so" )
ADD_CUSTOM_COMMAND( TARGET ${the_target} POST_BUILD COMMAND ${CMAKE_STRIP} --strip-unneeded "${LIBRARY_OUTPUT_PATH}/lib${the_target}.so" )
endif()

Loading…
Cancel
Save