summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-07-29 17:09:01 +0200
committerbunnei <bunneidev@gmail.com>2015-07-29 17:09:01 +0200
commit97fe935c8a5b658ba16a8930ddc0845ed950be16 (patch)
treef1979675a327283049c94aba0fe768588646ae3a
parentMerge pull request #1007 from lioncash/pc (diff)
parentEnable linker optimizations in MSVC Release builds (diff)
downloadyuzu-97fe935c8a5b658ba16a8930ddc0845ed950be16.tar
yuzu-97fe935c8a5b658ba16a8930ddc0845ed950be16.tar.gz
yuzu-97fe935c8a5b658ba16a8930ddc0845ed950be16.tar.bz2
yuzu-97fe935c8a5b658ba16a8930ddc0845ed950be16.tar.lz
yuzu-97fe935c8a5b658ba16a8930ddc0845ed950be16.tar.xz
yuzu-97fe935c8a5b658ba16a8930ddc0845ed950be16.tar.zst
yuzu-97fe935c8a5b658ba16a8930ddc0845ed950be16.zip
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e945a6679..a02b85da3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -48,7 +48,7 @@ else()
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}" CACHE STRING "" FORCE)
set(CMAKE_EXE_LINKER_FLAGS_DEBUG "/DEBUG" CACHE STRING "" FORCE)
- set(CMAKE_EXE_LINKER_FLAGS_RELEASE "/DEBUG" CACHE STRING "" FORCE)
+ set(CMAKE_EXE_LINKER_FLAGS_RELEASE "/DEBUG /INCREMENTAL:NO /OPT:REF,ICF" CACHE STRING "" FORCE)
endif()
add_definitions(-DSINGLETHREADED)