From 71f0ee98ccc85d41ba7587d122c83011ab1e25c3 Mon Sep 17 00:00:00 2001 From: F1F7Y <64418963+F1F7Y@users.noreply.github.com> Date: Fri, 30 Jun 2023 03:10:24 +0200 Subject: Reorganize third-party dependencies into `thirdparty` directory (#491) * rename `include` to `thirdparty` * remove duplicate minhook in wsock32 * move minhook into its own directory * move openssl lib into separate directories --- NorthstarDLL/CMakeLists.txt | 6 +++--- NorthstarDLL/pch.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'NorthstarDLL') diff --git a/NorthstarDLL/CMakeLists.txt b/NorthstarDLL/CMakeLists.txt index 697cd8d8..11c4eb14 100644 --- a/NorthstarDLL/CMakeLists.txt +++ b/NorthstarDLL/CMakeLists.txt @@ -146,8 +146,8 @@ add_library(NorthstarDLL SHARED ) target_link_libraries(NorthstarDLL PRIVATE - ${CMAKE_SOURCE_DIR}/include/MinHook.x64.lib - ${CMAKE_SOURCE_DIR}/include/libcurl/lib/libcurl_a.lib + ${CMAKE_SOURCE_DIR}/thirdparty/minhook/MinHook.x64.lib + ${CMAKE_SOURCE_DIR}/thirdparty/libcurl/lib/libcurl_a.lib WS2_32.lib Crypt32.lib Cryptui.lib @@ -160,7 +160,7 @@ target_link_libraries(NorthstarDLL PRIVATE target_include_directories(NorthstarDLL PRIVATE ${CMAKE_SOURCE_DIR}/NorthstarDLL - ${CMAKE_SOURCE_DIR}/include + ${CMAKE_SOURCE_DIR}/thirdparty ) target_precompile_headers(NorthstarDLL PRIVATE pch.h) diff --git a/NorthstarDLL/pch.h b/NorthstarDLL/pch.h index 9ad8378c..e4773d8a 100644 --- a/NorthstarDLL/pch.h +++ b/NorthstarDLL/pch.h @@ -36,7 +36,7 @@ typedef void (*callable_v)(void* v); #include "spdlog/spdlog.h" #include "logging/logging.h" -#include "MinHook.h" +#include "minhook/MinHook.h" #include "libcurl/include/curl/curl.h" #include "core/hooks.h" #include "core/memory.h" -- cgit v1.2.3