From: Peter Collingbourne Date: Thu, 18 Jun 2015 01:15:18 +0000 (+0000) Subject: Silence resource compiler using /nologo flag. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ce69bac8862d55c436aa6232cffbb2c7e291fb3d;p=oota-llvm.git Silence resource compiler using /nologo flag. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239983 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/cmake/modules/AddLLVM.cmake b/cmake/modules/AddLLVM.cmake index 63a76adbaf9..ba1476118ea 100644 --- a/cmake/modules/AddLLVM.cmake +++ b/cmake/modules/AddLLVM.cmake @@ -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}"