From bb7bee3b400bd7157c61ec6effbbc2e4298a3faa Mon Sep 17 00:00:00 2001 From: Daniel Stevens Date: Tue, 19 May 2026 00:14:30 -0600 Subject: [PATCH] Disable Vcpkg for main library Only the unit test project uses Vcpkg, and that's for the Google Test dependency. The main library project doesn't have any dependencies. As OP2Utility may be used as a dependency in projects that do use Vcpkg for their own dependencies, it may be helpful here to disable Vcpkg for the OP2Utility project. Part of that is so it doesn't get confused by manifest files in the host project while not having manifests enabled in the this project. Explicitly disabling Vcpkg for this project makes it easier to integrate into project that do use Vcpkg. The other part is that when Vcpkg is enabled it will add to the include search paths and the library search paths, even though it has no dependencies to load. Plus, when built on it's own, it may default to Classic Mode rather than Manifest Mode, so the search path adjustments may be different between projects, which is kind of odd. --- OP2Utility/OP2Utility.vcxproj | 3 +++ 1 file changed, 3 insertions(+) diff --git a/OP2Utility/OP2Utility.vcxproj b/OP2Utility/OP2Utility.vcxproj index d428a22e..d157b5e1 100644 --- a/OP2Utility/OP2Utility.vcxproj +++ b/OP2Utility/OP2Utility.vcxproj @@ -69,6 +69,9 @@ + + false + Level4