Silence resource compiler using /nologo flag.
authorPeter Collingbourne <peter@pcc.me.uk>
Thu, 18 Jun 2015 01:15:18 +0000 (01:15 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Thu, 18 Jun 2015 01:15:18 +0000 (01:15 +0000)
llvm-svn: 239983

llvm/cmake/modules/AddLLVM.cmake

index 63a76ad..ba14761 100644 (file)
@@ -287,6 +287,8 @@ function(set_windows_version_resource_properties name resource_file)
   endif()
 
   set_property(SOURCE ${resource_file}
+               PROPERTY COMPILE_FLAGS /nologo)
+  set_property(SOURCE ${resource_file}
                PROPERTY COMPILE_DEFINITIONS
                "RC_VERSION_FIELD_1=${ARG_VERSION_MAJOR}"
                "RC_VERSION_FIELD_2=${ARG_VERSION_MINOR}"