# /nologo isn't passed to RC

**URL:** https://discourse.cmake.org/t/nologo-isnt-passed-to-rc/3137
**Category:** Development
**Tags:** os:windows, comp:msvc
**Created:** [April 13, 2021, 1:04pm UTC](https://discourse.cmake.org/t/nologo-isnt-passed-to-rc/3137 "2021-04-13T13:04:50Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![diaphore](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/d/c67d28/32.png) [@diaphore](https://discourse.cmake.org/u/diaphore)
#### Post date: [April 13, 2021, 1:04pm UTC](https://discourse.cmake.org/t/nologo-isnt-passed-to-rc/3137/1 "2021-04-13T13:04:50Z")

</div>

With CMAKE\_VERBOSE\_MAKEFILE turned off, MSVC tools (cl, link, …) are passed the “-nologo” flag but RC isn’t.

Hacking nologo into CMAKE\_RC\_FLAGS solves the issue but is admittedly sub-optimal.

```
set(CMAKE_RC_FLAGS "-nologo ${CMAKE_RC_FLAGS}")
```

---

<div class="post-metadata">

### Author: ![brad.king](https://discourse.cmake.org/user_avatar/discourse.cmake.org/brad.king/32/11_2.png) [@brad.king](https://discourse.cmake.org/u/brad.king)
#### Post date: [April 13, 2021, 1:26pm UTC](https://discourse.cmake.org/t/nologo-isnt-passed-to-rc/3137/2 "2021-04-13T13:26:06Z")

</div>

At one time `rc` did not support the `-nologo` flag. I think it may be supported by toolsets coming with VS 2010+ but not VS 2008 or older. I’d welcome a change adding the flag, but it would have to be conditional.
