Skip to content

Commit

Permalink
Workaround for compiler issue with Visual Studio 17.10
Browse files Browse the repository at this point in the history
  • Loading branch information
Exzap committed Jul 7, 2024
1 parent 5209677 commit 9d36693
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@ add_executable(CemuBin
mainLLE.cpp
)

if(MSVC AND MSVC_VERSION EQUAL 1940)
# workaround for an msvc issue on VS 17.10 where generated ILK files are too large
# see https://developercommunity.visualstudio.com/t/After-updating-to-VS-1710-the-size-of-/10665511
set_target_properties(CemuBin PROPERTIES LINK_FLAGS "/INCREMENTAL:NO")
endif()

if(WIN32)
target_sources(CemuBin PRIVATE
resource/cemu.rc
Expand Down

0 comments on commit 9d36693

Please sign in to comment.