mio as subtree

This commit is contained in:
Simone
2024-01-23 08:37:05 +01:00
parent e9b950fcfb
commit 94bf39f9f5

View File

@@ -5,7 +5,6 @@ set(CMAKE_CXX_STANDARD 17)
find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets) find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets)
find_package(fmt REQUIRED) find_package(fmt REQUIRED)
find_package(mio REQUIRED)
find_package(nlohmann_json REQUIRED) find_package(nlohmann_json REQUIRED)
include_directories( include_directories(
@@ -20,6 +19,7 @@ include_directories(
../backend/core/rsp ../backend/core/rsp
../../external/ ../../external/
../../external/xbyak ../../external/xbyak
../../external/mio/include
../../external/parallel-rdp ../../external/parallel-rdp
../../external/parallel-rdp/parallel-rdp-standalone/parallel-rdp ../../external/parallel-rdp/parallel-rdp-standalone/parallel-rdp
../../external/parallel-rdp/parallel-rdp-standalone/volk ../../external/parallel-rdp/parallel-rdp-standalone/volk
@@ -34,6 +34,7 @@ include_directories(
../../external/unarr ../../external/unarr
) )
add_subdirectory(../../external/mio mio)
add_subdirectory(../backend backend) add_subdirectory(../backend backend)
add_subdirectory(../../external/discord-rpc discord-rpc) add_subdirectory(../../external/discord-rpc discord-rpc)
add_subdirectory(../../external/nativefiledialog-extended nfd) add_subdirectory(../../external/nativefiledialog-extended nfd)
@@ -60,7 +61,7 @@ add_executable(kaizen-qt
MainWindow.hpp MainWindow.hpp
MainWindow.cpp) MainWindow.cpp)
target_link_libraries(kaizen-qt PUBLIC Qt6::Core Qt6::Gui Qt6::Widgets fmt::fmt mio::mio nlohmann_json::nlohmann_json target_link_libraries(kaizen-qt PUBLIC Qt6::Core Qt6::Gui Qt6::Widgets fmt::fmt mio nlohmann_json::nlohmann_json
discord-rpc nfd parallel-rdp backend) discord-rpc nfd parallel-rdp backend)
file(COPY ../../resources/ DESTINATION ${PROJECT_BINARY_DIR}/resources/) file(COPY ../../resources/ DESTINATION ${PROJECT_BINARY_DIR}/resources/)