From 39339e58c50f412930960e2210ffcb219cedf338 Mon Sep 17 00:00:00 2001 From: Simone Date: Tue, 23 Jan 2024 08:39:39 +0100 Subject: [PATCH] fmt as subtree --- src/frontend/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/frontend/CMakeLists.txt b/src/frontend/CMakeLists.txt index 7b02b371..05798c23 100644 --- a/src/frontend/CMakeLists.txt +++ b/src/frontend/CMakeLists.txt @@ -4,8 +4,6 @@ project(kaizen-qt) set(CMAKE_CXX_STANDARD 17) find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets) -find_package(fmt REQUIRED) -find_package(nlohmann_json REQUIRED) include_directories( . @@ -20,6 +18,7 @@ include_directories( ../../external/ ../../external/xbyak ../../external/mio/include + ../../external/fmt/include ../../external/parallel-rdp ../../external/parallel-rdp/parallel-rdp-standalone/parallel-rdp ../../external/parallel-rdp/parallel-rdp-standalone/volk @@ -34,6 +33,7 @@ include_directories( ../../external/unarr ) +add_subdirectory(../../external/fmt fmt) add_subdirectory(../../external/mio mio) add_subdirectory(../backend backend) add_subdirectory(../../external/discord-rpc discord-rpc) @@ -61,7 +61,7 @@ add_executable(kaizen-qt MainWindow.hpp MainWindow.cpp) -target_link_libraries(kaizen-qt PUBLIC Qt6::Core Qt6::Gui Qt6::Widgets fmt::fmt mio nlohmann_json::nlohmann_json +target_link_libraries(kaizen-qt PUBLIC Qt6::Core Qt6::Gui Qt6::Widgets fmt mio nlohmann_json discord-rpc nfd parallel-rdp backend) file(COPY ../../resources/ DESTINATION ${PROJECT_BINARY_DIR}/resources/)