1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-23 04:57:44 +00:00

Fix libcotp build

This commit is contained in:
Joshua Goins 2023-09-23 13:16:28 -04:00
parent 5621b579e9
commit b5dde48cf1
4 changed files with 4 additions and 3 deletions

2
.gitmodules vendored
View file

@ -1,3 +1,3 @@
[submodule "external/libcotp"] [submodule "external/libcotp"]
path = external/libcotp path = external/libcotp
url = https://github.com/paolostivanin/libcotp.git url = https://github.com/redstrate/libcotp.git

View file

@ -2,6 +2,7 @@
# SPDX-License-Identifier: CC0-1.0 # SPDX-License-Identifier: CC0-1.0
set(BUILD_SHARED_LIBS OFF) set(BUILD_SHARED_LIBS OFF)
set(BUILD_TESTS OFF)
add_subdirectory(libcotp) add_subdirectory(libcotp)

2
external/libcotp vendored

@ -1 +1 @@
Subproject commit f88829ca931b040d37a1040f2796c1a5901d2246 Subproject commit 80c076c528c54bea9280a173122e3f7f073c9238

View file

@ -6,9 +6,9 @@
#include <QEventLoop> #include <QEventLoop>
#include <QNetworkReply> #include <QNetworkReply>
#include <QNetworkRequest> #include <QNetworkRequest>
#include <cotp.h>
#include <qt6keychain/keychain.h> #include <qt6keychain/keychain.h>
#include "cotp.h"
#include "launchercore.h" #include "launchercore.h"
Account::Account(LauncherCore &launcher, const QString &key, QObject *parent) Account::Account(LauncherCore &launcher, const QString &key, QObject *parent)