diff options
author | Arne Schwabe <arne@rfc2549.org> | 2018-01-31 11:21:50 +0100 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2018-01-31 11:21:50 +0100 |
commit | caf61e06d9c646f21a742f8e1b920544e51891a8 (patch) | |
tree | f34eb582a673b00200732e417af5a1371f854ceb /main/src | |
parent | 88c336d2e587dfea35f1ae8dcc97b6d87298aa69 (diff) |
Version 0.7.3
Diffstat (limited to 'main/src')
-rw-r--r-- | main/src/main/cpp/CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/main/src/main/cpp/CMakeLists.txt b/main/src/main/cpp/CMakeLists.txt index fa88ee4d..c708f077 100644 --- a/main/src/main/cpp/CMakeLists.txt +++ b/main/src/main/cpp/CMakeLists.txt @@ -22,13 +22,13 @@ include(openssl.cmake) #-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/Users/arne/software/icsopenvpn/main/build/intermediates/cmake/normal/debug/obj/arm64-v8a if (NOT ${CMAKE_LIBRARY_OUTPUT_DIRECTORY} MATCHES "build/intermediates/cmake/.*noovpn3.*/") add_subdirectory(mbedtls) - add_custom_command(OUTPUT "javacli/ovpncli_wrap.cxx" - file(MAKE_DIRECTORY ovpn3/java/net/openvpn/ovpn3/) + add_custom_command(OUTPUT "openvpn3/javacli/ovpncli_wrap.cxx" + COMMAND ${CMAKE_COMMAND} -E make_directory ovpn3/java/net/openvpn/ovpn3/ COMMAND swig -outdir ovpn3/java/net/openvpn/ovpn3/ -c++ -java -package net.openvpn.ovpn3 -I${CMAKE_SOURCE_DIR}/openvpn3/client -I${CMAKE_SOURCE_DIR}/openvpn3 ${CMAKE_SOURCE_DIR}/openvpn3/javacli/ovpncli.i) set(ovpn3_SRCS openvpn3/client/ovpncli.cpp - javacli/ovpncli_wrap.cxx) + openvpn3/javacli/ovpncli_wrap.cxx) add_library(ovpn3 SHARED ${ovpn3_SRCS}) @@ -179,7 +179,7 @@ target_link_libraries(nopie_openvpn.${ANDROID_ABI} PRIVATE openvpn) SET(OVPN_ASSET_DIR ${CMAKE_SOURCE_DIR}/../../../build/ovpnassets) add_custom_target(makeassetdir ALL - COMMAND ${CMAKE_COMMAND} -E make_directory MAKE_DIRECTORY ${OVPN_ASSET_DIR}) + COMMAND ${CMAKE_COMMAND} -E make_directory ${OVPN_ASSET_DIR}) add_custom_command(TARGET nopie_openvpn.${ANDROID_ABI} POST_BUILD COMMAND |