aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/libredwg/fix_arm64_build.patch
blob: d27d692c42cb59768965b40f170f50f75d590f69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ec2ec1d..910f61c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -16,6 +16,9 @@ if(MSVC)
 else()
   set(redwg redwg)
 endif()
+if(MSVC AND CMAKE_SYSTEM_PROCESSOR STREQUAL "ARM64")
+  add_compile_options(/Gy)
+endif()
 
 if (EXISTS ".version")
   file(READ .version NL_PACKAGE_VERSION)