fix: new build on normal repo

This commit is contained in:
0x330a 2023-04-19 14:10:25 +10:00
parent db2b9a5fa7
commit 905a1c4b62
2 changed files with 3 additions and 3 deletions

2
.gitmodules vendored
View File

@ -1,3 +1,3 @@
[submodule "libsession-util/libsession-util"]
path = libsession-util/libsession-util
url = https://github.com/jagerman/libsession-util.git
url = https://github.com/oxen-io/libsession-util.git

View File

@ -54,8 +54,8 @@ find_library( # Sets the name of the path variable.
# 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)
#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})