diff options
Diffstat (limited to 'app/CMakeLists.txt')
-rw-r--r-- | app/CMakeLists.txt | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/app/CMakeLists.txt b/app/CMakeLists.txt index 181a27a..c983539 100644 --- a/app/CMakeLists.txt +++ b/app/CMakeLists.txt | |||
@@ -1,5 +1,5 @@ | |||
1 | # Tinc App, an Android binding and user interface for the tinc mesh VPN daemon | 1 | # Tinc App, an Android binding and user interface for the tinc mesh VPN daemon |
2 | # Copyright (C) 2017-2021 Pacien TRAN-GIRARD | 2 | # Copyright (C) 2017-2022 Pacien TRAN-GIRARD |
3 | # | 3 | # |
4 | # This program is free software: you can redistribute it and/or modify | 4 | # This program is free software: you can redistribute it and/or modify |
5 | # it under the terms of the GNU General Public License as published by | 5 | # it under the terms of the GNU General Public License as published by |
@@ -43,8 +43,8 @@ ExternalProject_Add(lzo | |||
43 | ) | 43 | ) |
44 | 44 | ||
45 | ExternalProject_Add(libressl | 45 | ExternalProject_Add(libressl |
46 | URL https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.3.3.tar.gz | 46 | URL https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.7.3.tar.gz |
47 | URL_HASH SHA256=a471565b36ccd1a70d0bd7d37c6e95c43a26a62829b487d9d2cdebfe58be3066 | 47 | URL_HASH SHA256=7948c856a90c825bd7268b6f85674a8dcd254bae42e221781b24e3f8dc335db3 |
48 | CONFIGURE_COMMAND <SOURCE_DIR>/configure ${xCONFIG} --disable-shared | 48 | CONFIGURE_COMMAND <SOURCE_DIR>/configure ${xCONFIG} --disable-shared |
49 | BUILD_COMMAND make -j8 -C crypto | 49 | BUILD_COMMAND make -j8 -C crypto |
50 | INSTALL_COMMAND make -C crypto install DESTDIR=${CMAKE_CURRENT_BINARY_DIR} && | 50 | INSTALL_COMMAND make -C crypto install DESTDIR=${CMAKE_CURRENT_BINARY_DIR} && |
@@ -65,9 +65,11 @@ ExternalProject_Add(tinc | |||
65 | BUILD_COMMAND make -j8 -C src | 65 | BUILD_COMMAND make -j8 -C src |
66 | INSTALL_COMMAND make -C src install DESTDIR=${CMAKE_CURRENT_BINARY_DIR} && | 66 | INSTALL_COMMAND make -C src install DESTDIR=${CMAKE_CURRENT_BINARY_DIR} && |
67 | ${CMAKE_COMMAND} -E copy | 67 | ${CMAKE_COMMAND} -E copy |
68 | ${CMAKE_CURRENT_BINARY_DIR}/usr/local/sbin/tinc ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/libtinc.so && | 68 | ${CMAKE_CURRENT_BINARY_DIR}/usr/local/sbin/tinc |
69 | ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/libtinc.so && | ||
69 | ${CMAKE_COMMAND} -E copy | 70 | ${CMAKE_COMMAND} -E copy |
70 | ${CMAKE_CURRENT_BINARY_DIR}/usr/local/sbin/tincd ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/libtincd.so && | 71 | ${CMAKE_CURRENT_BINARY_DIR}/usr/local/sbin/tincd |
72 | ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/libtincd.so && | ||
71 | rm -r <BINARY_DIR> | 73 | rm -r <BINARY_DIR> |
72 | ) | 74 | ) |
73 | 75 | ||