1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

android: update 'debug' information support

This commit is contained in:
Alexander Alekhin
2019-05-18 17:13:39 +00:00
parent b4ec8fe3ef
commit 3c1267dbe6
7 changed files with 51 additions and 8 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ if(ANDROID)
# force strip library after the build command
# because samples and tests will make a copy of the library before install
if(NOT CMAKE_BUILD_TYPE MATCHES "Debug")
if(NOT BUILD_WITH_DEBUG_INFO AND NOT CMAKE_BUILD_TYPE MATCHES "Debug")
add_custom_command(TARGET ${the_module} POST_BUILD COMMAND ${CMAKE_STRIP} --strip-unneeded "$<TARGET_FILE:${the_module}>")
endif()
endif()