refactor: add sodium_lib_filename back to CMakeLists.txt

This commit is contained in:
0x330a 2022-11-30 17:02:53 +11:00
parent 4e37ec96f8
commit 2b9265e591
No known key found for this signature in database
GPG Key ID: 267811D6E6A2698C

View File

@ -50,7 +50,7 @@ get_target_property(sodium_lib_loc libsodium-internal IMPORTED_LOCATION)
get_filename_component(sodium_lib_filename "${sodium_lib_loc}" NAME) get_filename_component(sodium_lib_filename "${sodium_lib_loc}" NAME)
add_custom_command(TARGET session_util POST_BUILD add_custom_command(TARGET session_util POST_BUILD
COMMAND COMMAND
${CMAKE_COMMAND} -E copy ${sodium_lib_loc} ${CMAKE_LIBRARY_OUTPUT_DIRECTORY})#${PROJECT_SOURCE_DIR}/../jniLibs/${CMAKE_ANDROID_ARCH_ABI}/${sodium_lib_filename}) ${CMAKE_COMMAND} -E copy ${sodium_lib_loc} ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/${sodium_lib_filename})#${PROJECT_SOURCE_DIR}/../jniLibs/${CMAKE_ANDROID_ARCH_ABI}/${sodium_lib_filename})
# Specifies libraries CMake should link to your target library. You # Specifies libraries CMake should link to your target library. You
# can link multiple libraries, such as libraries you define in this # can link multiple libraries, such as libraries you define in this