diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-01-04 11:59:20 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-01-04 11:59:20 +0100 |
commit | 8369f50018f796bb1da957b4404c01580102f2fb (patch) | |
tree | a4dfbb77d96d5c0196937f97c7b7233eb5107802 /cmake | |
parent | 656eadb69fcb708c46fbf5c97f7913652e2705e6 (diff) |
cmake/msvc: try enabling incremental lto again
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/msvc.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/msvc.cmake b/cmake/msvc.cmake index 12470eef..ee43968f 100644 --- a/cmake/msvc.cmake +++ b/cmake/msvc.cmake @@ -154,11 +154,11 @@ set(_CXXFLAGS_RELEASE "${_CFLAGS_RELEASE}") set(_CXXFLAGS_DEBUG "${_CFLAGS_DEBUG}") set(_LDFLAGS "-WX") -set(_LDFLAGS_RELEASE "-OPT:REF,ICF=10 -LTCG -DEBUG:FULL") +set(_LDFLAGS_RELEASE "-OPT:REF,ICF=10 -LTCG:INCREMENTAL -DEBUG:FULL") set(_LDFLAGS_DEBUG "-DEBUG:FULL") set(_LDFLAGS_STATIC "-WX") -set(_LDFLAGS_STATIC_RELEASE "-LTCG") +set(_LDFLAGS_STATIC_RELEASE "-LTCG:INCREMENTAL") set(_LDFLAGS_STATIC_DEBUG "") set(CMAKE_BUILD_TYPE_INIT "RELEASE" CACHE INTERNAL "") |