From a4edcf54f4498d0c4a6c4b0e931e612883553a6d Mon Sep 17 00:00:00 2001 From: 0x330a <92654767+0x330a@users.noreply.github.com> Date: Thu, 20 Apr 2023 09:54:07 +1000 Subject: [PATCH] refactor: remove the old custom build libsodium stuff from cmake --- libsession-util/src/main/cpp/CMakeLists.txt | 8 -------- 1 file changed, 8 deletions(-) diff --git a/libsession-util/src/main/cpp/CMakeLists.txt b/libsession-util/src/main/cpp/CMakeLists.txt index e12a2dee11..d01523a24e 100644 --- a/libsession-util/src/main/cpp/CMakeLists.txt +++ b/libsession-util/src/main/cpp/CMakeLists.txt @@ -52,14 +52,6 @@ find_library( # Sets the name of the path variable. # you want CMake to locate. log) -# Copy libsodium-internal.so into the library output dir manually because gradle invokes cmake in -# ways that doesn't properly do this: -#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}/${sodium_lib_loc})#${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 # build script, prebuilt third-party libraries, or system libraries.