Fix MSVC cross compilation by Faless · Pull Request #7079 · libgit2/libgit2
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Conversation
Currently, the DefaultCFlags.cmake overrides the CMAKE_STATIC_LINKER_FLAGS to suppress linker warnings about files with no symbols defined. This has the side effect of breaking MSVC cross compilation (where CMAKE_STATIC_LINKER_FLAGS is used to specify the /MACHINE:ARCH flag) This commit make sure we append to CMAKE_STATIC_LINKER_FLAGS instead of replacing its values
Faless
deleted the
fix/static_linker_flags
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters