Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -676,6 +676,12 @@ if(WIN32)
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreadedDLL")
endif()

# Add hotpatch support for Release ARM64 builds
if(CMAKE_GENERATOR_PLATFORM STREQUAL "ARM64" OR SYSTEM_PROCESSOR STREQUAL "arm64")
message(STATUS "Configuring hotpatch support for ARM64 Release builds")
set(CMAKE_SHARED_LINKER_FLAGS_RELEASE "${CMAKE_SHARED_LINKER_FLAGS_RELEASE} /hotpatchcompatible /profile /incremental:no /pdbinject:mapfile")
endif()

else() #!WIN32
# Custom build flags.

Expand Down
Loading