15 lines
354 B
Diff
15 lines
354 B
Diff
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)
|