From 63377c3f170b318d0a5aa6668da256701d402f74 Mon Sep 17 00:00:00 2001 From: Skyth <19259897+blueskythlikesclouds@users.noreply.github.com> Date: Thu, 17 Oct 2024 15:35:55 +0300 Subject: [PATCH] Add tomlplusplus. --- UnleashedRecomp/CMakeLists.txt | 3 +++ UnleashedRecomp/stdafx.h | 1 + vcpkg.json | 4 +++- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/UnleashedRecomp/CMakeLists.txt b/UnleashedRecomp/CMakeLists.txt index e1237cf..aedccab 100644 --- a/UnleashedRecomp/CMakeLists.txt +++ b/UnleashedRecomp/CMakeLists.txt @@ -63,6 +63,8 @@ find_package(VulkanHeaders CONFIG) find_package(volk CONFIG REQUIRED) find_package(VulkanMemoryAllocator CONFIG REQUIRED) find_package(xxHash CONFIG REQUIRED) +find_package(PkgConfig REQUIRED) +pkg_check_modules(tomlplusplus REQUIRED IMPORTED_TARGET tomlplusplus) target_link_libraries(UnleashedRecomp PRIVATE comctl32 @@ -81,6 +83,7 @@ target_link_libraries(UnleashedRecomp PRIVATE unordered_dense::unordered_dense winmm xxHash::xxhash + PkgConfig::tomlplusplus ) target_include_directories(UnleashedRecomp PRIVATE diff --git a/UnleashedRecomp/stdafx.h b/UnleashedRecomp/stdafx.h index b3bd6de..e081888 100644 --- a/UnleashedRecomp/stdafx.h +++ b/UnleashedRecomp/stdafx.h @@ -11,6 +11,7 @@ #include #include #include +#include #include "framework.h" #include "Mutex.h" diff --git a/vcpkg.json b/vcpkg.json index 65da093..db5fda7 100644 --- a/vcpkg.json +++ b/vcpkg.json @@ -7,6 +7,8 @@ "volk", "vulkan-headers", "vulkan-memory-allocator", - "xxhash" + "xxhash", + "pkgconf", + "tomlplusplus" ] }