From e97c89e5f89f68925ed676a9e2457d50590761fd Mon Sep 17 00:00:00 2001 From: praydog Date: Fri, 3 Nov 2023 19:39:43 -0700 Subject: [PATCH] Fix compile --- CMakeLists.txt | 1 + cmake.toml | 3 ++- shared/sdk/APlayerCameraManager.cpp | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2ba15caa..1af405e9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -444,6 +444,7 @@ target_link_libraries(sdk PUBLIC kananlib Version TracyClient + nlohmann_json ) unset(CMKR_TARGET) diff --git a/cmake.toml b/cmake.toml index 57dfe91b..6a9a3c18 100644 --- a/cmake.toml +++ b/cmake.toml @@ -138,7 +138,8 @@ type = "sdk-template" link-libraries = [ "kananlib", "Version", - "TracyClient" + "TracyClient", + "nlohmann_json" ] [target.plugin_renderlib] diff --git a/shared/sdk/APlayerCameraManager.cpp b/shared/sdk/APlayerCameraManager.cpp index e675a6fc..725b9a65 100644 --- a/shared/sdk/APlayerCameraManager.cpp +++ b/shared/sdk/APlayerCameraManager.cpp @@ -1,3 +1,5 @@ +#include + #include "APlayerCameraManager.hpp" namespace sdk {