Skip to content
This repository has been archived by the owner on Apr 28, 2022. It is now read-only.

Commit

Permalink
Remove <CONFIG>_POSTFIX for Android shared library
Browse files Browse the repository at this point in the history
  • Loading branch information
ruslo committed Jun 1, 2015
1 parent 8adde6b commit 5445759
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions AndroidApk.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,13 @@ function(android_create_apk)
message(FATAL_ERROR "Target not exists: ${apk_NAME}")
endif()

# Remove library postfix.
# E.g. debug version have the same name for LoadLibrary
string(TOUPPER "${CMAKE_BUILD_TYPE}" upper_build_type)
set_target_properties(
"${apk_NAME}" PROPERTIES "${upper_build_type}_POSTFIX" ""
)

if(NOT ANDROID_APK_CREATE)
return()
endif()
Expand Down

0 comments on commit 5445759

Please sign in to comment.