From: Frank Lichtenheld Date: Tue, 20 Jun 2023 13:53:09 +0000 (+0200) Subject: CMake: Add /Brepro to MSVC link options X-Git-Tag: v2.7_alpha1~447 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e94e8de4bfaf6637124947a3489710b591e5e26;p=thirdparty%2Fopenvpn.git CMake: Add /Brepro to MSVC link options So that we get reproducible builds. Change-Id: Iffdd3ac5f266cc7d592ab678afc14c122acbb351 Signed-off-by: Frank Lichtenheld Acked-by: Lev Stipakov Message-Id: <20230620135310.94455-5-frank@lichtenheld.com> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg26757.html Signed-off-by: Gert Doering --- diff --git a/CMakeLists.txt b/CMakeLists.txt index bdbc87b82..3cbba5a38 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -56,6 +56,7 @@ if (MSVC) "$<$:/Zi>" ) add_link_options( + /Brepro "$<$:/LTCG:incremental>" "$<$:/DEBUG:FULL>" "$<$:/OPT:REF>"