fmt as subtree

This commit is contained in:
Simone
2024-01-23 08:39:39 +01:00
parent 84232cb85d
commit 39339e58c5

View File

@@ -4,8 +4,6 @@ project(kaizen-qt)
set(CMAKE_CXX_STANDARD 17) 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(nlohmann_json REQUIRED)
include_directories( include_directories(
. .
@@ -20,6 +18,7 @@ include_directories(
../../external/ ../../external/
../../external/xbyak ../../external/xbyak
../../external/mio/include ../../external/mio/include
../../external/fmt/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 +33,7 @@ include_directories(
../../external/unarr ../../external/unarr
) )
add_subdirectory(../../external/fmt fmt)
add_subdirectory(../../external/mio mio) 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)
@@ -61,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 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) discord-rpc nfd parallel-rdp backend)
file(COPY ../../resources/ DESTINATION ${PROJECT_BINARY_DIR}/resources/) file(COPY ../../resources/ DESTINATION ${PROJECT_BINARY_DIR}/resources/)