# \--rc=rc --mt=CMAKE\_MT-NOTFOUND

**URL:** https://discourse.cmake.org/t/rc-rc-mt-cmake-mt-notfound/5089
**Category:** Development
**Tags:** os:windows
**Created:** [February 22, 2022, 3:22pm UTC](https://discourse.cmake.org/t/rc-rc-mt-cmake-mt-notfound/5089 "2022-02-22T15:22:34Z")
**Posts on this page:** 1
**Showing post:** 17

<div class="post-metadata">

### Author: ![buildSystemPerson](https://discourse.cmake.org/user_avatar/discourse.cmake.org/buildsystemperson/32/2851_2.png) [@buildSystemPerson](https://discourse.cmake.org/u/buildSystemPerson)
#### Post date: [March 15, 2022, 9:19pm UTC](https://discourse.cmake.org/t/rc-rc-mt-cmake-mt-notfound/5089/17 "2022-03-15T21:19:15Z")

</div>

Perhaps something like this.

```auto
if (NOT EXISTS ${CMAKE_RC_COMPILER})
    message(FATAL_ERROR "Ensure SDK is installed AND registry editing is enabled!")
endif()

```

---

_[View the full topic](https://discourse.cmake.org/t/rc-rc-mt-cmake-mt-notfound/5089)._
