pineapple-src/externals/vcpkg/ports/xlnt/static-linking-for-windows.patch
2022-07-23 03:01:36 +02:00

16 lines
335 B
Diff
Executable file

diff --git a/include/xlnt/xlnt.hpp b/include/xlnt/xlnt.hpp
index fdd33c38..0d21128f 100644
--- a/include/xlnt/xlnt.hpp
+++ b/include/xlnt/xlnt.hpp
@@ -23,6 +23,11 @@
#pragma once
+// Patched by vcpkg to handle static non-cmake builds
+#ifndef XLNT_STATIC
+#define XLNT_STATIC
+#endif
+
#include <xlnt/xlnt_config.hpp>
// cell