From 2b9265e591d49fa5a97b5d08118305f3283893bf Mon Sep 17 00:00:00 2001 From: 0x330a <92654767+0x330a@users.noreply.github.com> Date: Wed, 30 Nov 2022 17:02:53 +1100 Subject: [PATCH] refactor: add sodium_lib_filename back to CMakeLists.txt --- libsession-util/src/main/cpp/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsession-util/src/main/cpp/CMakeLists.txt b/libsession-util/src/main/cpp/CMakeLists.txt index d76e6a6925..05a841bac4 100644 --- a/libsession-util/src/main/cpp/CMakeLists.txt +++ b/libsession-util/src/main/cpp/CMakeLists.txt @@ -50,7 +50,7 @@ get_target_property(sodium_lib_loc libsodium-internal IMPORTED_LOCATION) get_filename_component(sodium_lib_filename "${sodium_lib_loc}" NAME) add_custom_command(TARGET session_util POST_BUILD 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 # can link multiple libraries, such as libraries you define in this