mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-26 21:51:13 +01:00
move from fetchcontent to submodule
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#include "CAN_interface.hpp"
|
||||
#include "magic_enum.hpp"
|
||||
#include "spdlog/spdlog.h"
|
||||
#include <magic_enum/magic_enum.hpp>
|
||||
|
||||
CAN_Interface::CAN_Interface(QString dev, QObject *parent) : QObject(parent)
|
||||
{
|
||||
|
||||
@@ -9,11 +9,6 @@ find_package(Qt6 REQUIRED COMPONENTS Core WebSockets SerialBus)
|
||||
qt_standard_project_setup()
|
||||
qt_add_executable(server)
|
||||
|
||||
include(FetchContent)
|
||||
|
||||
FetchContent_Declare(magic_enum URL https://github.com/Neargye/magic_enum/releases/download/v0.9.6/magic_enum-v0.9.6.tar.gz DOWNLOAD_EXTRACT_TIMESTAMP TRUE)
|
||||
FetchContent_MakeAvailable(magic_enum)
|
||||
|
||||
file(GLOB_RECURSE SIM_SOURCES "simulators/*.[hc]pp")
|
||||
file(GLOB_RECURSE CAN_SOURCES "CAN/*.[hc]pp")
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "simulators.hpp"
|
||||
#include <magic_enum.hpp>
|
||||
#include <magic_enum/magic_enum.hpp>
|
||||
|
||||
QString Simulators::message_parser(QString message)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user