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)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239983 91177308-0d34-0410-b5e6-96231b3b80d8

cmake/modules/AddLLVM.cmake

index 63a76ad..ba14761 100644 (file)
@@ -286,6 +286,8 @@ function(set_windows_version_resource_properties name resource_file)
     set(ARG_PRODUCT_NAME "LLVM")
   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}"