diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index 69ca995ecc..9fc3f14dc4 100644 --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt @@ -50,6 +50,9 @@ if (MSVC) add_subdirectory(PCH) add_definitions(/I${PCH_DIRECTORY}) add_definitions(/Yu${PCH_PATH}) + + # Don't include timestamps in binaries + add_link_options(/Brepro) endif() # These aren't actually needed for C11/C++11 diff --git a/Source/VSProps/Base.props b/Source/VSProps/Base.props index 204c93a23f..bd156bafc6 100644 --- a/Source/VSProps/Base.props +++ b/Source/VSProps/Base.props @@ -162,7 +162,7 @@ enableCompatPatches - /NODEFAULTLIB:libcmt %(AdditionalOptions) + /NODEFAULTLIB:libcmt /Brepro %(AdditionalOptions) true