mirror of
https://github.com/Mr-Wiseguy/Zelda64Recomp.git
synced 2025-01-12 12:19:12 +01:00
Disable identical code folding to prevent mods from conflicting with themselves due to merged functions
This commit is contained in:
parent
7bcb984347
commit
b9ea76847f
@ -196,6 +196,11 @@ else()
|
|||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if (MSVC)
|
||||||
|
# Disable identical code folding, since this breaks mod function patching as multiple functions can get merged into one.
|
||||||
|
target_link_options(Zelda64Recompiled PRIVATE /OPT:NOICF)
|
||||||
|
endif()
|
||||||
|
|
||||||
if (WIN32)
|
if (WIN32)
|
||||||
include(FetchContent)
|
include(FetchContent)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user